https://bugs.kde.org/show_bug.cgi?id=522619
Bug ID: 522619
Summary: Wayland: Shift modifier is ignored for numpad
shortcuts when NumLock is enabled
Classification: Plasma
Product: kwin
Version First unspecified
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: effects-window-management
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 194009
--> https://bugs.kde.org/attachment.cgi?id=194009&action=edit
Tried assigning `Meta+Ctrl+Shift+Numpad1` but it reassigns to
`Meta+Ctrl+Numpad1` when NumLock is turned on.
Wayland: `Meta+Ctrl+Shift+Numpad1` is treated as identical to
`Meta+Ctrl+Numpad1` when NumLock is ON; shortcuts only work correctly with
NumLock OFF. It was working properly a week ago.
**Product:** KWin
**Version:** 6.7.2
**Distribution:** CachyOS (Arch-based)
**Keyboard Layout:** US
**Session Type:** Wayland
When NumLock is ON in a Wayland session, `Meta+Ctrl+Shift+Numpad1` is treated
as identical to `Meta+Ctrl+Numpad1`. When NumLock is OFF, the shortcuts are
distinct and function correctly. On X11, both shortcuts work regardless of
NumLock state.
I discovered this while assigning KWin "Window to Desktop" shortcuts using
numpad keys. Plasma reports a shortcut conflict when attempting to assign
`Meta+Ctrl+Shift+Numpad1` if `Meta+Ctrl+Numpad1` is already assigned, as if the
Shift modifier were not present.
Screenshots of the conflict dialog are attached.
**Steps to Reproduce**
1. Start a Plasma Wayland session.
2. Ensure NumLock is ON.
3. Assign a KWin action to `Meta+Ctrl+Numpad1`.
4. Attempt to assign another KWin action to `Meta+Ctrl+Shift+Numpad1`.
**Observed Result**
* Plasma reports that the shortcut conflicts with `Meta+Ctrl+Numpad1`.
* The Shift modifier is effectively ignored for numpad digit shortcuts when
NumLock is ON.
* Existing shortcuts using `Meta+Ctrl+Shift+Numpad1` do not trigger correctly.
* Wayland behaves as if `Meta+Ctrl+Shift+Numpad1` and `Meta+Ctrl+Numpad1` are
the same shortcut.
**Expected Result**
`Meta+Ctrl+Numpad1` and `Meta+Ctrl+Shift+Numpad1` should be treated as distinct
shortcuts and should be independently assignable and triggerable.
Additional observations:
* Keyboard layout is US.
* Mouse Keys is disabled.
* The issue occurs only on Wayland.
* The issue is reproducible consistently.
**Configuration Information**
Output of `localectl status`:
System Locale: LANG=en_IN
VC Keymap: us
X11 Layout: us
```
Relevant entries from `~/.config/kglobalshortcutsrc` are stored correctly and
include the Shift modifier:
```
Window to Desktop 1=Meta+Ctrl+Shift+Num+End,none,Window to Desktop 1
Window to Desktop 2=Meta+Ctrl+Shift+Num+Down,none,Window to Desktop 2
Window to Desktop 3=Meta+Ctrl+Shift+Num+PgDown,none,Window to Desktop 3
Window to Desktop 4=Meta+Ctrl+Shift+Num+Left,none,Window to Desktop 4
```
--
You are receiving this mail because:
You are watching all bug changes.