From kde-core-devel Thu Aug 14 14:24:01 2008 From: "Jason Stubbs" Date: Thu, 14 Aug 2008 14:24:01 +0000 To: kde-core-devel Subject: Re: Qt SVG renderer Message-Id: <2e0add770808140724w410d455as1a3dc6c96d7839f7 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121887133902133 On 8/14/08, Thiago Macieira wrote: > On Tuesday 29 July 2008 22:17:19 Ariya Hidayat wrote: >> Reminds me of the typical mistake: in order to initialize a paint >> device (with alpha channel) with transparent pixels, use QPainter and >> perform fillRect(rect, Qt::transparent). This won't work *unless* you >> set the composition mode to QPainter::CompositionMode_Source *before* >> carrying out the fill. > > BTW, the system tray also has this same mistake. I've just realised that > what > I thought was mirroring effects is actually this problem: after starting > Skype, it got a nepomuk background (the icon right to its left). http://bugs.kde.org/show_bug.cgi?id=158094 The result may be the same, but the root cause and fix aren't quite as easy. :( -- Jason Stubbs