Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.0 Beta4
-
None
Description
QML Shortcut component generates the following strange warning under Qt 6.2:
qrc:/main.qml:11:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 9. Use 'sequences: [ <key> ]' to bind to all of them.
Code:
import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Controls 2.12 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Shortcut { sequence: StandardKey.Paste onActivated: console.log("PASTE") } }
Attachments
Issue Links
- resulted from
-
QTBUG-88682 Not able to trigger "Alt+Enter" shortcut
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-96350 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
507698,9 | Shortcut: Fix nativeText and portableText when using sequences | dev | qt/qtdeclarative | Status: NEW | 0 | +1 |