Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.1, 5.6.0
-
None
-
KWin 5.5.5
xorg-server 1.18.2
-
a02959bb5b43a3f9d881e5213ceedf535202b6a1
Description
When you minimize a fullscreen window with #showMinimized() and then re-open the window from your task-bar, the window is not restored into fullscreen mode.
Following QWindowStateChangeEvent are issued on #showMinimized():
- WindowMinimized|WindowFullScreen
- WindowNoState
- WindowMinimized
It looks like this issue not reproducible on my environment only since it has been reported for KDE KRDC by multiple users: https://bugs.kde.org/show_bug.cgi?id=361570
Note: the following example works fine with Qt 4.8.7, but fails with Qt 5.5.1.
#include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton *button = new QPushButton("Minimize"); QObject::connect(button, SIGNAL(pressed()), button, SLOT(showMinimized())); button->showFullScreen(); return app.exec(); }
Attachments
Issue Links
- relates to
-
QTBUG-52555 Adding FullScreen flag to windowState and removing it, removes Maximized flag
-
- Closed
-
For Gerrit Dashboard: QTBUG-52616 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
185016,17 | Make QWindow's windowState a QFlags of the WindowState | dev | qt/qtbase | Status: MERGED | -2 | 0 |