Double tooltips

Milian Wolff mail at milianw.de
Wed Sep 8 12:43:52 UTC 2010


On Wednesday, 8. September 2010 14:31:32 Niko Sams wrote:
> 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....

Much better, +1 from me.

But I'd say the correct fix would be to show both tooltips as David said, since 
context browsing is defintely something I also want to do during debugging. 
Hidding it always is just a pain.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100908/fc44b9c8/attachment.sig>


More information about the KDevelop-devel mailing list