-
Type:
Bug
-
Status: Open
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.4.2, 5.6.3, 5.9.3, 5.10.0, 5.12.5, 5.13.2, 5.14.0 Beta3, 5.15
-
Fix Version/s: None
-
Component/s: GUI: Look'n'Feel, GUI: Window management
-
Environment:Mac OS X 10.10 (Yosemite), XCode 6.3, macOS 10.13
-
Platform/s:
The code snippet attached can be used to reproduce the issue
#include <QApplication> #include <QWidget> #include <QTimer> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setQuitOnLastWindowClosed(false); QWidget w; w.showFullScreen(); QTimer::singleShot(2000, [&]{ w.close(); }); return a.exec(); }
Steps to reproduce:
1. Build and run the example attached.
Expected result:
The window is closed and the dashboard changes to the "main" one
Actual result:
The window is closed and the dashboard is shown black, doesn't return to the "main" dashboard. (use cmd+tab to switch the dashboard).
- is related to
-
QTBUG-68069 Exiting fullscreen window leaves the application in fullscreen mode on macOS
-
- Open
-
-
QTBUG-52450 macOS: Closing a window that's in fullscreen removes the window, but doesn't exit fullscreen
-
- Open
-
- relates to
-
QTBUG-52058 Exiting Youtube full screen end up with gray screen
-
- Closed
-
-
QTBUG-53286 Consistent QWindow close event behavior
-
- Open
-
- replaces
-
QTBUG-36714 Window can't be fully closed on Mac OS X after calling showFullScreen()
-
- Closed
-
For Gerrit Dashboard: QTBUG-46701 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
309895,3 | Test QWindow close() behavior | dev | qt/qtbase | Status: NEW | +2 | 0 |
309896,4 | Make QWidget::close() destroy the QWindow | dev | qt/qtbase | Status: NEW | +2 | 0 |