Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.2, 6.6
-
520c8ab14 (dev), 6f4370b51 (6.8), e1ad73a0b (6.7), 9bae744f6 (tqtc/lts-6.5)
Description
The Menu's F shortcut is triggered, but not the MenuItem's X shortcut.
import QtQuick import QtQuick.Controls import Qt.labs.platform as Platform ApplicationWindow { id: window width: 640 height: 480 visible: true menuBar: MenuBar { property Platform.FileDialog fileDialog Menu { id: fileMenu title: qsTr("&File") MenuItem { objectName: "openMenuItem" text: qsTr("Open") onTriggered: fileDialog.open() } MenuSeparator {} MenuItem { objectName: "quitMenuItem" text: qsTr("E&xit") onTriggered: Qt.quit() } } } }
Attachments
For Gerrit Dashboard: QTBUG-96630 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
461208,4 | WIP: Fix mnemonic shortcuts not triggering menu items | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |