| Summary: | Shortcuts configured for extra mouse buttons are not sent if they include letters and non-default keyboard layout is active | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | sergeyprotserovca |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | duha.bugs, kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.5.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY If I configure an extra mouse button to be equivalent to a shortcut including a letter, for example, Meta+N, it works when my main (English (US)) keyboard layout is active, but doesn't work when my secondary (Russian (RU)) keyboard layout is active. A shortcut not including a letter, for example, Meta+9, works in both cases. STEPS TO REPRODUCE 1. Go to System Settings -> Mouse & Touchpad -> Mouse -> Configure Extra Buttons... 2. Set one of the extra buttons to send Meta+N, another one -- to send Meta+9 3. Go to System Settings -> Keyboard 4. Add a Russian layout and configure layout switching 5. Go to System Settings -> Keyboard -> Shortcuts 6. Add some clearly visible actions for Meta+N and Meta+9 7. Try pressing the configured extra mouse buttons with both your main and Russian layouts OBSERVED RESULT Mouse button assigned to Meta+N only works with the main layout, mouse button assigned to Meta+9 works with both main and Russian layouts EXPECTED RESULT Both buttons work for both layouts SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 42 KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.9.3 ADDITIONAL INFORMATION Both actual keyboard shortcuts work with both keyboard layouts active. If I run `wev`, then clicking the mouse button in question (assigned to a shortcut including a letter, Meta+N) with the main (English (US)) layout gives the following output: ``` [14: wl_keyboard] key: serial: 146638; time: 121633361; key: 133; state: 1 (pressed) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 146639; group: 0 depressed: 00000040: Mod4 latched: 00000000 locked: 00000000 [14: wl_keyboard] key: serial: 146642; time: 121633368; key: 133; state: 0 (released) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 146643; group: 0 depressed: 00000000 latched: 00000000 locked: 00000000 ``` There is no output if I click the button in question with Russian (RU) layout active.