[Okular-devel] Background in okular "shell" app

Luigi Toscano luigi.toscano at tiscali.it
Sun Jan 31 11:31:12 CET 2010


Hugo Pereira Da Costa wrote:
> On 01/30/2010 05:49 PM, Pino Toscano wrote:
>> Alle domenica 31 gennaio 2010, Hugo Pereira Da Costa ha scritto:
>>
>>> To me, the plain background you get when calling autofillbackground
>>> (using the palette.color( widget->backgroundrole() ), is a feature, not
>>> a bug.
>>>
>> See, color() != brush(). This Qt behaviour is basically bugging every widget
>> which sets the autoFill and has the background role in the palette with
>> something else than a color.
>>
>>
> ok, I agree with this.
>
> But that wont fix the issue with oxygen. its main window background is
> not a brush, passed via the palette.
> Maybe it could be made so (though I'm not sure about clipping), but it
> is not at the moment. Right now its plain painting (with QPainter) in
> re-implemented QEvent::Paint for appropriate (top level) widgets.

I know that this removing the roots of the problem is the most complicated 
way, but... have you tried to talk to Oxygen (and/or Bespin) developers?

Regards,
-- 
Luigi


More information about the Okular-devel mailing list