Review Request: Add the ability for applets to change autohide timeout value
Dominik Haumann
dhdev at gmx.de
Sat Jan 10 20:59:42 CET 2009
On Saturday 10 January 2009, Chani wrote:
> > > so what is the use case for hiding a tooltip where the data is
> > > changing?
>
> <snip>
>
> > So sometimes the autohide does not work. I was able to reproduce this
> > like this: I hvae two instances of the systemloadviewer side by side. -
> > hover over plasmoid1
> > - hover over plasmoid2
> > - now tooltip moves in an animation to plasmoid2. Now *during* this
> > animation change the desktop (maybe now the plasmoid does not get a
> > mouse leave event or such...). Now the tooltip will never go away,
> > which is probably a bug :)
>
> yes, that would be a bug. :)
> so now the real question is, how can we fix the bug? then hiding will
> work when the mouse leaves and you won't need to add anything to the
> tooltip API, right?
>
> btw, I haven't been able to reproduce this with clock tooltips. but they
> don't show seconds in hte tooltip any more... odd.
>
> oh wow, that was interesting. I had a clock tooltip, and I switched
> desktops, and the tooltip went away... but then a couple of seconds later
> the minute changed and the content of hte tooltip came back with no
> border. ...ahaha. taking a screenshot of it brought the borders back.
> bizarre :)
You could try to reproduce with the System Load Viewer in playground.
Another way I can reproduce is something like this:
- hover over system load viewer applet -> tooltip and plasmoid-handle appear
- move the mouse over the plasmoid-handle above the tooltip, be quick,
somehow the tooltip should not disappear
- now leaving the tooltip without hitting the plasmoid will get you "free",
i.e. now the tooltip stays there forever :)
It's certainly very rare cases where this can happen, but it does happen.
Dominik
More information about the Plasma-devel
mailing list