Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2
-
None
Description
For Windows event.text inside Keys.onPressed contains text "1" for key combination "Ctrl+Shift+1", and text "!" for key combinations "Shift+1" and "Alt+1".
For Linux all of three key combinations "Ctrl+Shift+1", "Shift+1" and "Alt+1" produce event.text with value "!".
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true Item { anchors.fill: parent focus: true Keys.onPressed: console.info(event.text) } }