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

            Bug ID: 489975
           Summary: Keyboard layout selection has wrong values for
                    variants
    Classification: Applications
           Product: systemsettings
           Version: 6.1.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_keyboard
          Assignee: plasma-b...@kde.org
          Reporter: ansalexrich...@gmail.com
                CC: butir...@gmail.com, natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
Since 6.1, selecting Keyboard layout variants in settings seemingly doesn't
apply the correct settings in the background. In multiple cases, it just maps
to "BQN", which doesn't work, and is at least breaking the Keyboard Layout
Switcher in the taskbar and previewing the layout itself.

STEPS TO REPRODUCE
Break the layout preview:
1. Open Keyboard Layouts in Settings
2. Search for "German, Swedish and Finnish" and click preview

Break the keyboard layout switcher:
1. Open Keyboard Layouts in Settings
2. Select two languages without variants to make sure the keyboard layout
switcher pops up in the taskbar (For example, English (US) and German

OBSERVED RESULT
First example:
The Keyboard preview fails to load with the following error:

Keycodes above 256 (e.g. <I256>) are not supported by X and are ignored
Error:            No Symbols named "de_se_fi" in the include file "bqn"
                  Exiting
                  Abandoning symbols file "(null)"

Second example:
The keyboard layout switcher stops displaying in the taskbar.


EXPECTED RESULT
First example: The keyboard previews correctly.
Second example: I can switch to the selected Keyboard Layout with the variant.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: bazzite-stable (also reproduced on NixOS)
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I found this related Discuss post having the same issue with cz_sk_de:
https://discuss.kde.org/t/cannot-select-keyboard-layout/18313

Another person was able to reproduce this issue when asking, and suggested a
workaround that avoids the issue:
1. Go to ~/.config/kxkbrc
2. In [Layout], manually add your variant (this config works for me):
[Layout]
DisplayNames=,
LayoutList=de,us
ResetOldOptions=true
Use=true
VariantList=,de_se_fi

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

Reply via email to