Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0
-
None
-
Windows 10
Description
The sequence reproduces always. A minimum sample and a video are attached.
1. Close the window.
That is by calling QWidget::close, pressing alt+f4 or clicking the native close button.
QWidget::hide will not do. The underlying native window has to perish, but the Qt widget object has to be the same from here on.
2. After some time reopen the window.
The example just sets up a timer. In real world that could be in response to some business logic event, or by clicking a tray icon, or by restoring a single instance application.
3. Make sure that when the window shows, it immediately and directly appears under the cursor.
Since the geometry and the position of the window is reset after close(), just put the cursor at the middle of the screen.
If the cursor is outside the window when it restores, the error may or may not occur, as demonstrated in the video.
4. Hover a window edge with the mouse.
I also think this is a regression. I was not able to reproduce with 5.12.8.