-
Type:
Bug
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 5.11.2, 5.12.3
-
Fix Version/s: None
-
Component/s: QPA: X11/XCB, Widgets: Main Window
-
Labels:None
-
Environment:Ubuntu 18.04
-
Platform/s:
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
For Gerrit Dashboard: QTBUG-76354 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
264929,3 | Hide window when showMinimized is used | 5.12 | qt/qtbase | Status: ABANDONED | 0 | 0 |