[Interest] Probable Qt bug in widgets display

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Wed Apr 20 18:09:27 CEST 2016

Good news, I have a MCVE and precise conditions to trigger the bug with
100% success on my machine.

You need a QMainWindow, a custom application wide dark QPalette, a custom
stylesheet "QMainWindow { background: palette(base); }"

1) Launch the application on a machine (via RDP or locally)
2) Connect to that desktop via RDP with Visual Styles disabled (this
disables Aero)

The window, which was dark, is now white.

I'll file a bug of course

2016-04-20 12:04 GMT+02:00 Bo Thorsen <bo at vikingsoft.eu>:

> Den 20-04-2016 kl. 10:56 skrev Etienne Sandré-Chardonnal:
>> Here are two screenshots:
>> Normal display : http://www.eclat-digital.com/downloads/qtbug-normal.png
>> Bugged display : http://www.eclat-digital.com/downloads/qtbug-issue.png
> This looks like a paint bug to me. The best way forward for you is to
> create a small self contained application that shows the problem. In this
> case, it should probably be possible to do it in 10 lines of code or so.
> And then add a description on how to reproduce it. Create a bug report with
> those two things.
> The good thing about the small test case is that you also make it very
> clear if it really is a Qt bug or if you did something on your side that
> triggers it.
> Bo Thorsen,
> Director, Viking Software.
> --
> Viking Software
> Qt and C++ developers for hire
> http://www.vikingsoft.eu
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160420/f530cd64/attachment.html>

More information about the Interest mailing list