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

            Bug ID: 505253
           Summary: KDe shortcuts can't distinguish between number pad and
                    main keyboard strokes
    Classification: Frameworks and Libraries
           Product: frameworks-kglobalaccel
      Version First 5.103.0
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: kdeb...@caseyconnor.org
                CC: fanzhuyi...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. assign a shortcut to Meta+-, using the number pad

OBSERVED RESULT
Using either the number pad - key or the main keyboard - key triggers the
shortcut

EXPECTED RESULT
Only the key used in the shortcut assignment should trigger the shortcut.

SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-37-amd64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

>From xev the keys are different:
    keycode 20 (keysym 0x2d, minus)
vs:
    keycode 82 (keysym 0xffad, KP_Subtract)

…but if I edit kglobalshortcutsrc and change “-” to KP_Subtract, it doesn’t
work. Ideally we could specify keycode, keysym, or use the KP_Subtract style
names in kglobalshortcutsrc.

It's understandable to treat the "-" key on the number pad as semantically
identical to the regular "-", but the number pad presents a big opportunity to
assign shortcuts, and it is lost due to this.

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

Reply via email to