Review Request: Fix scrolling with mouse (without wheel) in krunner

Aaron J. Seigo aseigo at kde.org
Wed Jul 8 23:49:43 CEST 2009


On Wednesday 08 July 2009, Jacopo De Simoi wrote:
> On Wednesday 08 July 2009 19:41:30 Aaron J. Seigo wrote:
> > On Wednesday 08 July 2009, you wrote:
> > > QPainter from paintEvent.. here is the result:
> > > http://imagebin.ca/view/TFWmBq.html
> >
> > to be clear, the problem we're seeing in that screenshot is what exactly?
> > the colouring of the fade out or the positioning of it?
>
> The problem is that the dialog itself becomes transparent, and fades into
> the desktop; it's like there's a hole in the dialog, whereas we would like
> that just  the items become transparent and fade into the background of the
> dialog, as we manage to have if we let QGV::render paint items on a pixmap
> and then put a gradient on it before drawing it using the painter...

perhaps you are using the wrong compositing setting when painting? it sounds 
like you aren't blending it with the contents but rather doing sth like 
QPainter::CompositionMode_Source?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090708/91600bee/attachment.sig 


More information about the Plasma-devel mailing list