Qt SVG renderer

Michael Pyne mpyne at purinchu.net
Thu Aug 14 22:06:14 BST 2008


On Thursday 14 August 2008, Alex Merry wrote:
> On Thursday 14 August 2008 13:37:35 Thiago Macieira wrote:
> > Using glassified. This is before and after starting the Qt example
> > desktop/systray. For the second test, I ran kruler and placed it over the
> > system tray before starting the example. You can see kruler in the
> > background of the icon.
>
> It seems to be something to do with QX11EmbedContainer.
>
> I've tried every trick I can find (setting setAutoFillBackground(true),
> calling update() in all sorts of places, making sure
> Qt::WA_OpaquePaintEvent isn't set...), and the background should be solid
> black (well, actually a solid wash of the background colour of the theme),
> but none of it makes any difference.  SystemTrayContainer, which inherits
> QX11EmbedContainer, just doesn't seem to be clearing its background.

Is it possible to, instead of filling with Qt::transparent, fill with the 
system tray's background color instead?  This would require alpha support to 
get it right and I don't remember the exact CompositionMode required for that 
but it seems funny that we can't even do a solid fill. :-/

Regards,
 - Michael Pyne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080814/fdda35e4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080814/fdda35e4/attachment.sig>


More information about the kde-core-devel mailing list