[PATCH] make window preview support mouse click in plasma tooltip

Emdek emdeck at gmail.com
Sun Jun 7 11:39:50 CEST 2009


On 07-06-2009 01:19:10 Sebastian Kügler <sebas at kde.org> wrote:

> What about tooltips == the task switchers for grouped windows? That  
> sounds a
> lot more straightforward than the separation between tooltips and  
> windowlist,
> they look similar (smallish plasma-styled popup above the taskbar, but  
> behave
> different (tooltip hover behaviour vs. menu-like behaviour). So when
> compositing is available, grouped windows will slide out the previews,
> probably single windows in the same way. We'll need to find out how  
> annoying
> they behave if they not just vanish when you move the mouse away like we  
> do
> now.

I've done something like this in my applet, Fancy Tasks and people like  
this feature (it was suggested by one of the users).
And this means less code, as far as I know it's already possible to  
trigger showing of tool tip "manually".
This topic was already discussed and Aaron "designed" how it should work  
form code side (signals for mouse events and actions in applets).


> As to the code. The kdelibs part seems to affect all tooltips. I don't  
> think
> we want every tooltip to be clickable though.

So we need property to set if we want to have tool tips that accepts hover.


More information about the Plasma-devel mailing list