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

Keyboard shortcuts do not work if US layout is not primary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.1, 4.8.4
    • Core: Event loop
    • None
    • Archlinux
      KDE 4.5.3
      KDE 4.8.5
      KDE 4.9.4
      KDE 4.9.80

      Keyboard shortcuts do not work if US layout is not primary in xkb, like 'setxkbmap -layout ru,us'. GTK applications handle this correctly.

      This affects all applications that use keyboard shortcuts.

      A simple example application attached (bug-15319-test.zip).

      (Aurelien) Note: the bug can be reproduced by switching to the second keyboard layout (US) by calling XkbLockGroup(XOpenDisplay(0), XkbUseCoreKbd, XkbGroup2Index). This is what the second example demonstrates (main.cpp, ShowPressedKey.h, showPressedKey.pro, build.sh).

        1. bug-15319-test.zip
          3 kB
        2. build.sh
          0.1 kB
        3. main.cpp
          1 kB
        4. patch.txt
          1 kB
        5. ShowPressedKey.h
          1 kB
        6. showPressedKey.pro
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paeglis Gatis Paeglis
            lamefun Banana Fool
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes