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

QKeySequenceEdit can't register shortcuts with dead keys

    XMLWordPrintable

Details

    Description

      Shortcuts with a Dead keys could never be registered.
      Entered in QKeySequenceEdit widget, these shortcuts produced a garbage
      in place of the dead key, and the resulting shortcut couldn't be
      triggered.

      For example, on German layout the key below Esc is a Dead Circumflex key.

      The test case:

      • set German layout in your System settings
      • open any app with QKeySequenceEdit or KKeySequenceWidget (that one
        could be found in Plasma Shortcut Settings) widget, or create a test form with that widget
      • try to register any shortcut with Dead Circumflex key (a key below
        Esc), e.g.: Alt+`Dead Circumflex`.

      Expected result:
      the widget should show Alt+<some_meaningful_deadkey_name> Key Sequence,
      the shortcut registered should trigger corresponding action

      Actual result:
      the widget shows weird "Alt+ោ?" Key Sequence, the shortcut can never be
      triggered

      Attachments

        1. a.png
          a.png
          27 kB
        2. acute.png
          acute.png
          28 kB
        3. circumflex.png
          circumflex.png
          29 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-111992
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              bam80 Andrey Butirsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are 2 open Gerrit changes