Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.2, 5.14.0
-
-
Bug Fixing Week Q2/2020
Description
User has found a way to crash application if new window is created, moved to another screen, closed there and tried to reopen.
Support has tested the example and it crashes the app.
Steps to reproduce the crash with the attached example project:
Begin application.
Click the first button
Move the newly created window to a different display
Close it, but with the native "X" in the window Top Right corner.
("Close it" button does not seem to trigger a fatal.)
Click the first button (again)
Note assert
File: kernel\qplatformwindow.cpp Line: 767 ASSERT: "!d->updateTimer.isActive()" in file kernel\qplatformwindow.cpp, line 767
Attachments
For Gerrit Dashboard: QTBUG-81400 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
287223,1 | QPlatformWindow: Do not assert when receiving requestUpdate() in short intervals | 5.14 | qt/qtbase | Status: ABANDONED | -1 | 0 |
297748,4 | Prevent asserts in certain QWindow re-creation cases | dev | qt/qtbase | Status: MERGED | +2 | 0 |
300952,2 | Prevent asserts in certain QWindow re-creation cases | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |