Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.2
Description
A minimal reproducer:
import QtQuick import QtQuick.Controls import Qt.labs.platform as Labs Window { width: 640 height: 480 visible: true title: qsTr("MenuTest") Labs.MenuBar { Labs.Menu { title: qsTr("&Navigation") Labs.MenuItem { text: qsTr("Previous Frame") shortcut: StandardKey.Back onTriggered: { console.log("previous frame"); } } } } }
Problems of MenuItem from Labs module:
1. With QGuiApplication module, shortcut that contains Alt key does not work. Not triggered whatsoever. StandardKey.Back (Alt+Left) is an example.
2. With QApplication, shortcut works but menu itself is totally invisible.
The expected behavior is Alt key works for shortcut unconditionally.
Attachments
Issue Links
- relates to
-
QTBUG-69558 Implement support for native Popups and Menus
-
- Open
-