Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15.2
-
None
-
-
0707b85cda9e621df26b49cddf08f82b28a3f907 (qt/qtbase/dev) 1547ecba0d3f5caf7bda2a6d68724e4c982f9e75 (qt/tqtc-qtbase/5.15) 7c233d4034237e268a513741ce69a0cd6ef47519 (qt/tqtc-qtbase/6.2)
Description
I use the Keys attached property of a Rectangle to mange key input.
I use a French layout keyboard.
On WASM, the French layout is not used and if I press 'A', the event.key return 0x51 (Q) instead of 0x41.
On Windows the event.key is correct.
Rectangle
{ width:200; height:200; color: "red" focus: true Keys.onPressed: console.log('key pressed', event.key,event.nativeScanCode); Keys.onReleased: console.log('key released', event.key,event.nativeScanCode); }