https://bugs.kde.org/show_bug.cgi?id=461207

            Bug ID: 461207
           Summary: Assigning Window shortcut key cannot include "meta"
                    key (the "Windows" key) or it will be modified to some
                    weird key
    Classification: Plasma
           Product: kwin
           Version: 5.24.6
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: luke.yx....@gmail.com
  Target Milestone: ---

SUMMARY
On Kubuntu 22.04LTS, whenever I assign a window shortcut key including the
"Meta" key (the left "Windows" key), for example, "Meta+D" it will be
immediately converted to a weird sequence "ៀ?" which is not a valid shortcut
key.  This *only* happens on Kubuntu 22.04LTS, not on 20.04 or 18.04.

STEPS TO REPRODUCE
1. Open any window say an xterm, on Kubuntu 22.04 LTS
2. Right click on the title bar of xterm, move down to "More Actions" -> "Set
Window Shortcut"
3. In the dialog box enters whatever key combination containing the "Meta" key
(more exactly the left "Windows" key), say, "Meta+D" (Win+D)

OBSERVED RESULT
After the key combination is typed in the above dialog box, inn the beginning
it will correctly show "Meta+D" but 1 second later it will be converted to the
text "ៀ?".  If we try "Meta+Alt+D" it will become "Alt+ៀ?".  After we closed the
dialog, that key combination has no effect at all.
After examine the xmodmap I found the following 3 keys initially are:

  keycode  64 = Alt_L Meta_L Alt_L Meta_L
  keycode 108 = Alt_R Meta_R Alt_R Meta_R
  keycode 133 = Super_L NoSymbol Super_L

I need to change them to the following to fix this issue.

  keycode  64 = Alt_L Alt_L Alt_L Alt_L
  keycode 108 = Alt_R Alt_R Alt_R Alt_R
  keycode 133 = Meta_L Meta_L Meta_L

EXPECTED RESULT
It supposed to keep what we typed in instead of modifying it into "ៀ?"
If I load the modified xmodkey as above, the this won't happen and the key
combination works well as before (Kubuntu 20.04LTS).


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04LTS
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to