[Panel-devel] [PATCH] tooltips + taskbar thumbnails

Jason Stubbs j.stubbs at linkthink.co.jp
Wed Dec 26 02:50:01 CET 2007


On Wednesday 26 December 2007 04:14:54 Sebastian Kügler wrote:
> KWin composite provides those cool thumbnails of windows on the taskbar.
> Plasma provides tooltips on taskbar entries. Those clash, as shown in the
> attached screenshot.
>
> The attached patch checks by means of reading kwinrc if those taskbar
> thumbnails are enabled and doesn't display the tooltips in that case.
>
> Objections against this patch? Suggestions for improvements?

I don't particularly like it... If kwin decides to change its config layout or 
if the name of the taskbar thumbnail effect changes, this patch will break. 
Also, if the user makes changes to settings the user can end up with both 
tooltips or no tooltips for the remainder of the session. If the taskbar 
thumbnail effect is enabled but composite is disabled, the user will also end 
up with no tooltips. In an environment where the thumbnail effect doesn't do 
anything (like mine) the user will also end up with no tooltips.

The taskbar thumbnail effect currently works by checking if the mouse position 
is within the published geometry on every single mouse move and is more of a 
quick hack to show what can be done - hence, demo in its name. I'm not sure 
if it'll remain for kde 4.0 or not, but I think it'd be much better to work 
with the kwin team to sort this out rather than working around it.

> Otherwise, I'll commit shortly...

Not sure if I made the cutoff time or not. ;)

-- 
LINKTHINK INC.
東京都渋谷区桜ヶ丘町22-14 N.E.S S棟 3F
TEL 03-5728-4772  FAX 03-5728-4773
Jason Stubbs <j.stubbs at linkthink.co.jp>


More information about the Panel-devel mailing list