Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.1
-
Windows 10
-
88788667a083efc6c04d1df641077f5a06be57b5 (qtbase/5.9, 17.2.17)
Description
On Windows 10 if a widget has palette set with QPalette::Base color changed, that color is ignored if the Widget is added to a graphics view's scene by addWidget().
On Windows 7 this works as expected. Also if we don't use the QGraphicsView, the palette color works as it should.
Steps to reproduce:
- Run attached sample
- Observe the QTextEdit background color
- EXPECTED: Background color is green
- ACTUAL: Background color is white - any color is ignored
Attachments
Issue Links
- relates to
-
QTBUG-40634 Windows: system mouse hover animation causes QLineEdit background to flash in white when background is modified by style sheet
- Closed