Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10.1, 5.13.0
-
None
-
Win10
Description
After promoting Qt to 5.10.1, I found this issue. My application is a frameless window with custom minimize, maximize, close buttons. When I maximize the window, then minimize it, finally restore it by clicking the app icon on Windows' taskbar. The window doesn't restore maximized state.
With Qt 5.9.3, it's OK.
Attached an sample to reproduce the issue.
- Run the sample.
- Maximize the window.
- Click the minimize button in the center of the window.
- Restore the window by Windows taskbar.
qtbug69711_qwin:
"5.11.1 xcb" ()
click to minimize
slotWindowStateChanged Qt::WindowState(WindowNoState)
slotWindowStateChanged Qt::WindowState(WindowNoState)
slotWindowStateChanged Qt::WindowState(WindowMaximized)
mousePressEvent about to call showMinimized() QFlags<Qt::WindowState>(WindowMaximized)
slotWindowStateChanged Qt::WindowState(WindowMinimized)
mousePressEvent after showMinimized: QFlags<Qt::WindowState>(WindowMinimized)
slotWindowStateChanged Qt::WindowState(WindowMinimized)
slotWindowStateChanged Qt::WindowState(WindowMinimized)
slotWindowStateChanged Qt::WindowState(WindowNoState)
Attachments
Issue Links
- is duplicated by
-
QTBUG-107733 showMinimized() prevents Qt Quick Window from being re-maximized via the taskbar
- Open
-
QTBUG-70878 Windows taskbar restore qml minimized window
- Closed
- relates to
-
QTBUG-57882 Cannot show maximized window minimized
- Closed
-
QTBUG-69888 switching from fullscreen to windowed mode not working
- Reported
-
QTBUG-107733 showMinimized() prevents Qt Quick Window from being re-maximized via the taskbar
- Open
-
QTBUG-76354 QMainWindow::showMinimized() doesn't work on Ubuntu 18.04(GNOME Shell)
- Closed