Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.2, 5.12
-
Any platform with 'fusion' style.
-
dae2e6be939e5efcb48bcbfa872d07727dffacb2
Description
QSpinBox spin; spin.show(); spin.resize(100, 6);
and lower heights print:
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
I experience this while using a QPropertyAnimation to resize a widget until it’s gone.
This is the only style (tested Adwaita, Oxygen and Windows on Linux so far) and widget combination that produces warnings so far.
Attachments
For Gerrit Dashboard: QTBUG-71806 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
246853,5 | Fusion style - avoid a warning | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |