Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3, 6.6.1, 6.7.0 Beta2
-
None
-
Windows 11
Description
Using the code below, the shortcuts (Ctrl+Z and Ctrl+Y) work fine when the keyboard language is set to English or another latin-based language like Italian. But they stop working when the keyboard layout is changed to Hebrew (using System Settings app on Windows 11).
Other applications like Microsoft Word or Notepad, regardless of language, behave as expected.
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Shortcut { id: undoShortcut sequences: [StandardKey.Undo] onActivated: console.log("Undo") } Shortcut { id: redoShortcut sequences: [StandardKey.Redo] onActivated: console.log("Redo") } }
Similarly in C++, using `QShortcut` reproduces the same issue.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-121794 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
539787,4 | QWindowsKeyMapper: Check for hebrew when assign fallbackKey | dev | qt/qtbase | Status: NEW | 0 | 0 |