Double tooltips

Vladimir Prus ghost at cs.msu.su
Wed Sep 8 13:06:35 UTC 2010


On Wednesday 08 September 2010 16:43:52 Milian Wolff wrote:

> 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. 

And you can do it just fine, without tooltips -- since Ctrl-Click works just
fine when debugging. 

- Volodya




More information about the KDevelop-devel mailing list