Double tooltips

Niko Sams niko.sams at gmail.com
Wed Sep 8 12:31:32 UTC 2010


On Tue, Sep 7, 2010 at 21:43, Vladimir Prus <ghost at cs.msu.su> wrote:
>
> I see that while in Debug area, hovering over a variable gives me two
> tooltips -- one from contextbrowser and another from debugger, which
> is clearly not nice. The contextbrowser tooltip is created in
> kdevplatform/plugins/contextbrowser/contextbrowser.cpp, see viewCreated
> and textHintRequested.
>
> Does anybody have any opinion how this should be fixed? It seems ideal to
> - Make each View aware of the Area it belongs too
> - Make each Area specify a list of 'tooltip providers' it allows
> - When installing tooltip handler, check if the area of the view allows
> what we're trying to install.
>
What do you think about a priority system? So if debug+contextbrowser are
avaliable debug has a higher priority.
I think the implementation would be much easier....

Niko




More information about the KDevelop-devel mailing list