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

QXkbCommon::keysymToQtKey does not correctly handle punctuation with modifiers under some keyboard layouts

    XMLWordPrintable

Details

    Description

      In a similar fashion to QTBUG-90611, Qt does not translate some modified key presses (i.e. key presses while a modifier is held) correctly when the current layout is one of several non-English layouts.

      For example, the "`" key (as in QTBUG-90611) generates a ";" in the Czech and Hebrew layouts. When a modifier is held and that key is pressed, in both English and Russian layouts, QXkbCommon::keysymToQtKey() generates Key_QuoteLeft, but under Czech and Hebrew layouts, it generates Key_Semicolon.

      Compare, for example, the same for the ";" QWERTY key - when CTRL is held and that key is pressed under English it generates Key_Semicolon, and the same under both Russian, Czech and Hebrew.

      Other keys that may present issues are QWERTY "q" and "w", which under the Hebrew layout, when CTRL is held generate Key_Slash and Key_Apostrophe (respectively) while under English, Russian and Czech these generate the correct Key_Q and Key_W.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              guss77 Oded Arbel
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes