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

Jason Stubbs jasonbstubbs at gmail.com
Mon Jan 7 14:54:02 CET 2008


On Monday 07 January 2008 19:54:38 JST, Lubos Lunak wrote:
> On Sunday 06 of January 2008, Jason Stubbs wrote:
> > On Sunday 06 January 2008 23:00:24 JST, Lubos Lunak wrote:
> > > Dne Sunday 06 of January 2008 04:09:18 Jason Stubbs napsal(a):
> > > > In my experience, it always appears instantly but never in the right
> > > > position. I've attached an example but the position and size change
> > > > each time the tooltip is shown.
> > >
> > >  Can you provide more details?
> >
> > I've attached snapshots of three more examples of how it appears.
>
> ...
>
> > Anything else that might prove useful?
>
>  I cannot reproduce. Check in WindowPreview::setInfo() in
> workspace/libs/plasma/widgets/tooltip.cpp whether the position passed to
> KWin is correct. If not, there's a bug with layouts somewhere, if yes,
> please try to find out which KWin effect is causing it.

Three hours and a -3/+4 patch later... I am now getting thumbnails. :)

The format parameter to XChangeProperty seems to have the wonderful property 
that 32 means sizeof(long) even though 8 and 16 mean 8-bit and 16-bit 
respectically. The attached patch fixes the assumption that 32 means 32-bit 
in code paths used by the tooltip thumbnails effect, but there may be more 
lurking elsewhere.

-- 
Jason Stubbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwin-x86_64.patch
Type: text/x-diff
Size: 1373 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080107/898725da/attachment.bin 


More information about the Panel-devel mailing list