Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1
-
None
Description
To reproduce:
import QtQuick 2.7 import QtQuick.Window 2.2 Window { id: window width: 100 height: 100 color: "red" visible: true // visibility: Window.FullScreen Shortcut { sequence: "F" onActivated: window.visibility = window.visibility === Window.FullScreen ? Window.Windowed : Window.FullScreen } }
Press F to toggle fullscreen. When the window goes to fullscreen the decorations are not removed.
Similarly, if the window starts in fullscreen state, decorations are not there initially, and are not added when going out of fullscreen.