Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-84494

Keyboard layout not managed on Keys.event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      WebAssembly
    • Commits:
      0707b85cda9e621df26b49cddf08f82b28a3f907 (qt/qtbase/dev)

      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); }

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lpotter Lorn Potter
            Reporter:
            remy67 remy rouvin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes