Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.11
-
Windows 10
Description
This makes the whole window "jump" when closing the application, instead of just smoothly fading out as it normally would.
I would expect it to stay visible like other stuff in the application. See notepad-plus-plus-menubar-app-close.gif for the expected behaviour.
Happens with Slate, and with this minimal example:
import QtQml 2.2 import QtQuick.Controls 2.1 import Qt.labs.platform 1.0 as Platform ApplicationWindow { id: window objectName: "window" width: 1200 height: 800 visible: true onClosing: { close.accepted = false Qt.quit() } Platform.MenuBar { Platform.Menu { id: fileMenu objectName: "fileMenu" title: qsTr("File") Platform.MenuItem { objectName: "newMenuItem" text: qsTr("New") } } } }
If I take away the onClosing handler, the problem goes away.
Attachments
Issue Links
- relates to
-
QTBUG-66889 Crash when closing application that uses nested native menus on Windows
- Closed