Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12, 5.13, 5.14
-
None
-
-
009abcd7b66738bece6cf354776dfb2ef401636b (qt/qtbase/5.14) e2f35fa6842508f6bd9d2343f08a17a2a292fd71 (qt/qtbase/5.12.7)
Description
As discovered in QTBUG-74559 and QTBUG-69289 QWidget does not handle surfaces created or destroyed under its feet, e.g. not initiated by QWidget::create or QWidget::destroy. The winId and created-attribute, among others, gets out of sync.
We should handle QPlatformSurfaceEvent by running the relevant parts of the QWidget::create/destroy logic.
Attachments
Issue Links
- is duplicated by
-
QTBUG-80245 Cached QDialog does not redraw when closing dialog using 'X' button
- Closed
- resulted from
-
QTBUG-69289 Crash on macOS when using winId() after hiding/showing QMainWindow (introduced in Qt 5.11)
- Closed
-
QTBUG-74559 [macOS] [Regression] QMenu not drawn properly when shown on regular display after shown on Retina display
- Closed