Qt SVG renderer

Alex Merry kde at randomguy3.me.uk
Thu Aug 14 22:45:25 BST 2008


On Thursday 14 August 2008 22:06:14 Michael Pyne wrote:
> On Thursday 14 August 2008, Alex Merry wrote:
> > 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. :-/

We _don't_ fill SystemTrayContainer with Qt::transparent.  There's some 
transparency involved in the system tray itself, but the glitches are in the 
SystemTrayContainer widget, which should be filled with plain black on the 
default theme.

Alex


-- 
Proud KDE hacker: http://www.kde.org
Get KDE 4.1 - out now!
Arch Linux: perfect for geeks like me - http://www.archlinux.org
OpenSUSE: just works - http://www.opensuse.org

-------------- 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/0f54b867/attachment.sig>


More information about the kde-core-devel mailing list