Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
4.3.3
-
None
-
43ce457cb (dev), a7f052319 (6.7), 8a0c94a11 (6.6), c6af5b9c1 (dev), e9b187a83 (6.7), ff1f12d5a (6.6), 293772f5f (tqtc/lts-6.5), b47ad83d7 (6.6.2)
Description
Ensure that when pixelMetric() is called, the widget pointer is always passed as this can be useful to subclasses of QStyle and the information should always be available to it.
Attachments
Issue Links
- resulted in
-
QTBUG-121697 Critical crash when creating QPlainTextEdit when using styles/stylesheets.
-
- Closed
-
-
QTBUG-121790 QApplication::setStyleSheet crashes QTextEdit
-
- Closed
-
-
QTBUG-122039 Commit a7f052319bb6b718172c00afe1e98862db835d9a causes some applications to crash on startup
-
- Closed
-
For Gerrit Dashboard: QTBUG-1857 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
531017,1 | Widgets: pass widget to QStyle::pixelMetric() | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
538197,1 | Q(Plain)TextEdit: don't crash when using a style sheet | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |
285328,2 | QCommonStyle: make sure to pass the widget to pixelMetric() | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
530606,3 | Widgets: pass widget to QStyle::pixelMetric() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
530951,2 | Widgets: pass widget to QStyle::pixelMetric() | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
530985,2 | Widgets: pass widget to QStyle::pixelMetric() | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
537295,6 | Q(Plain)TextEdit: don't crash when using a style sheet | dev | qt/qtbase | Status: MERGED | +2 | 0 |
537841,2 | Q(Plain)TextEdit: don't crash when using a style sheet | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
537914,2 | Q(Plain)TextEdit: don't crash when using a style sheet | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
538057,2 | Q(Plain)TextEdit: don't crash when using a style sheet | 6.6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
538059,2 | Q(Plain)TextEdit: don't crash when using a style sheet | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |