Summary: | Keyboard layout selection has wrong values for variants | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | ansalexrichter |
Component: | kcm_keyboard | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | butirsky, isma.af, mokurai82, natalie_clarius, nate, silvia-cor |
Priority: | NOR | ||
Version: | 6.1.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/d9ee7cbbdd3fdec3a71ec847aaf00d6a36dbda6b | Version Fixed In: | 6.2.0 |
Sentry Crash Report: |
Description
ansalexrichter
2024-07-09 12:39:32 UTC
The exact same happened to me with English (US, international AltGr Unicode combining) on a new installation of CachyOS with KDE Plasma 6.1. I can confirm that the suggested workaround solves it, and the keyboard layout switcher in the taskbar behaves as expected as well. Can confirm the bug. The issue is the selector not assigning internally the "exotic variants" (those in evdev.extras.xml) to the correct layout, but to the BQN layout (which has no variants) instead, an so the setting fails since it is a non-supported combination. The workaround assigns the variant to the right layout ("us" in this case) as it should be, so everything works. Thanks for filing a bug report! Otherwise it could have easily got forgotten in discuss A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2496 Git commit d9ee7cbbdd3fdec3a71ec847aaf00d6a36dbda6b by Ismael Asensio. Committed on 11/09/2024 at 21:54. Pushed by iasensio into branch 'master'. kcms/keyboard: Fix assigning variants to wrong layouts for "extra" rules When processing the xkb_rules files, we cannot assume that the layouts and their corresponding variants will always come in order. Instead find the layout by name before assigning the variant. This fixes the layout/variant matches defined in `*.extras.xml`, which are merged later, and provide new variants to layouts that were already FIXED-IN: 6.2 M +16 -12 kcms/keyboard/xkb_rules.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/d9ee7cbbdd3fdec3a71ec847aaf00d6a36dbda6b *** Bug 490614 has been marked as a duplicate of this bug. *** |