Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.7, 6.3.2
-
None
Description
The QML Shortcut item does not trigger the signal activated() after pressing:
- Ctrl+}
- Forward,
- Ctrl+Tab
- Ctrl+{
- Back
- Ctrl+Shift+Tab
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Shortcut { sequence: StandardKey.NextChild" onActivated: { console.log("onActivated NextChild") } } Shortcut { sequence: StandardKey.PreviousChild" onActivated: { console.log("onActivated PreviousChild") } } }
Also, the shortcut does not work if you do it like this:
Shortcut { sequence: "Ctrl+Tab" onActivated: { console.log("onActivated NextChild") } } Shortcut { sequence: "Ctrl+Shift+Tab" onActivated: { console.log("onActivated PreviousChild") } }
masOS Monterey 12.6