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

When pressing CTRL+SHIFT+number on a German keyboard then the key() you get in the key press is not always as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0, 5.3.0 Beta1
    • Fix Version/s: 5.4.0 Beta
    • Labels:
      None
    • Environment:
      Windows 7
    • Commits:
      b85b78f17d3d18887b409a3ce9d2f2c71ae68844 (qtbase/5.4, 3.2.2015, 5.4.2)

      Description

      When pressing CTRL+SHIFT+number on a German keyboard then the key() you get in the key press is not always as expected. For instance in the example if you press CTRL+SHIFT+2 then you get @ as the key(). Whereas there does not seem to be any indication that @ should be sent. It should be " instead as that is SHIFT+2 since there is no special key to display here like with Norwegian keyboards. This seems to be caused by an incorrect fallback or something like that from having a first glance at the code in question.

        Attachments

        1. alt_gr.patch.txt
          2 kB
        2. main.cpp
          0.7 kB
        3. qtbug35734.zip
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              owolff Oliver Wolff
              Reporter:
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes