Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.11.1
-
None
-
Linux Mint 18.3
Qt Creator 4.7.0
Description
Hello,
i have a Window which is configured to be fullscreen.
Window
{
visible : true
visibility : Window.FullScreen
...
}
if the CommandLineParser-Option "window" is set i want to change to windowed mode.
engine->load(QUrl(QStringLiteral("qrc:/main.qml")));
if (engine->rootObjects().isEmpty())
return false;
if (true == parser.isSet("window"))
{
engine->rootObjects().first()->setProperty("visibility", QWindow::Windowed);
}
When i do so the application window switches back to fullscreen magically. The debug output in the window.onVisibilityChanged handler says:
qml: window running in fullscreen mode
qml: window running in windowed mode
qml: window running in fullscreen mode
Very strange - why is that ????
Attachments
Issue Links
- relates to
-
QTBUG-69711 [REG 5.9->5.10] QWindow doesn't restore previously maximized state after calling showMinimized()
- Reported