Double tooltips

Alexander Shaduri ashaduri at gmail.com
Tue Sep 7 19:57:06 UTC 2010


Hello,

On Tue, 7 Sep 2010 23:43:48 +0400
Vladimir Prus 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.
> 
> Comments?

Actually, I use the contextbrowser tooltip in the Debug mode as well,
so disabling it unconditionally wouldn't be nice.
Why not just place the debugger tooltip above the line (like the function
parameter hint tooltip)? (And make it a bit larger while at it).

Alexander




More information about the KDevelop-devel mailing list