Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.2, 5.12.3, 5.13.1, 5.14.0
-
None
-
Ubuntu 18.04
-
-
4f370d36ec5caa02f78545ceee5704d94edf0530(5.14) 283d9b01dc3ab6c95c688b0e5f5c98c41ca22d30(5.12)
Description
Showing a GUI application with `showMinmized()` doesn't work on Ubuntu 18.04 and the window is displayed on the screen as if I started it with `showNormal()`.
Note that it works fine on Ubuntu 16.04.
I found that if I execute `mainWindow->showNormal(); mainWindow->sesWindowState(Qt::WindowMinimized);` the window is minimized.
Steps to reproduce this issue:
- open the "Main Window" example
- change `mainWin.show();` in `main.cpp` with `mainWin.showMinimized()`
- recompile and run
-> the window is visible at start
Attachments
Issue Links
- relates to
-
QTBUG-69711 [REG 5.9->5.10] QWindow doesn't restore previously maximized state after calling showMinimized()
- Reported
-
QTBUG-68864 tst_QWidget_window::setWindowState autotest fails on Ubuntu 18.04
- Closed