Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
6.7.0, 6.7.1, 6.7.2, 6.7.3, 6.8.0
-
None
-
-
26af5d185 (dev), 899f708c7 (6.8), 35128e2f1 (6.7)
Description
crash when setting a style to a QWidget while a parent or himself has a styleSheet
Update 01/10/24
Crash still exists in Qt6.7.3
in QStyleSheetStyle::getDefaultStyleSheet(), baseStyle() return a deleted pointer.....
see call stack.
Current files are still available to reproduce the crash.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125513 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
596616,3 | QSSStyle: Only create new QStyleSheetStyle when there is no parent style | dev | qt/qtbase | Status: NEW | 0 | 0 |
564615,4 | QStyleSheet/QProxyStyle: Avoid deref after setWindowFlags in polish | dev | qt/qtbase | Status: MERGED | +2 | 0 |
566284,2 | QStyleSheet/QProxyStyle: Avoid deref after setWindowFlags in polish | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
566328,2 | QStyleSheet/QProxyStyle: Avoid deref after setWindowFlags in polish | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |