[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Qt SVG renderer
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2008-08-14 21:45:25
Message-ID: 200808142245.29802.kde () randomguy3 ! me ! uk
[Download RAW message or body]


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


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic