Bug 477508 - Switching layouts with Ctrl+Shift breaks other shortcuts like Ctrl+Shift+P (Infamous bug 865)
Summary: Switching layouts with Ctrl+Shift breaks other shortcuts like Ctrl+Shift+P (I...
Status: RESOLVED DUPLICATE of bug 470113
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-25 16:26 UTC by no
Modified: 2023-11-30 22:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description no 2023-11-25 16:26:41 UTC
STEPS TO REPRODUCE
Have two keyboard layouts, set Ctrl+Shift as shortcut to switch result

OBSERVED RESULT
Keyboard layouts are switched when ctrl and shift are pressed, not when released. Executing ctrl+shift+P in firefox, for example, does not create private key as intended. Also tons of shortcuts in VS Code are broken this way.

EXPECTED RESULT
Switch layouts when ctrl and shift are released.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: any kde on wayland

ADDITIONAL INFORMATION
This is related to 
https://bugs.freedesktop.org/show_bug.cgi?id=865
which is not fixed since 20 years. On Arch Linux using KDE with X11 I can use a patch from AUR https://aur.archlinux.org/packages/xorg-server-bug865, but it doesn't help when KDE is running Wayland. Libxkbcommon refuse to fix it because a fix might break something else, and it seems a shame that "new and shiny" Wayland that is supposed to replace X11 is inheriting same errors.
Comment 1 Nate Graham 2023-11-30 22:06:09 UTC
If it's an upstream bug, then it's an upstream bug.

*** This bug has been marked as a duplicate of bug 470113 ***