Summary: | Add Layout only lists German, Swiss not German | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Jonathan Riddell <jr> |
Component: | kcm_keyboard_layout | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | g-a-d, justin.zobel |
Priority: | NOR | ||
Version: | 5.2.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Missing German layouts (only) if limited by language. |
Description
Jonathan Riddell
2015-03-30 16:10:09 UTC
Created attachment 97660 [details]
Missing German layouts (only) if limited by language.
There is no option to select (only) "German" via the "Limit selection by language" drop down list.
If you select "German, Swiss" (as this is the only item containing "German"), then no German layouts are listed in the "Layout" drop down list at all.
Instead, if you pre-select "Any language" you actually get German layouts (with all its variants).
Environment: Debian testing (systemsettings 5.4.3) as well as Debian stable (systemsettings 4.11.13).
Sorry, I failed to mention that I can totally reproduce the behavior Jonathan Riddell described in his comment. Actually, my intention was to confirm the bug with some additional screenshots... The keyboard module loads the language descriptions from iso-codes project (iso639-3.xml file). From what I can see that file has German with ISO code "deu". xkeyboard-config.xml for German uses "ger". https://www.freedesktop.org/wiki/Software/XKeyboardConfig/Rules/ The short description (shortDescription tag) is recommended for the indicators that use labels (as opposite to flags) for providing the user with the information about currently used layout/variant. This description is expected to contain the 2-letter ISO639-1 code (in lowercase) of the primary language - or, if no ISO639-1 exists for that language, it can be 3-letter code from ISO639-2 or ISO639-3. I suspect we have to look for iso_639_2B_code in iso_639.xml first and if not found then search in iso639-3.xml (or vice versa). I've just tested against systemsettings 5.20.2 and I can't reproduce this issue, the ger language shows EurKEY (US), English (US) and German layouts. Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks Jonathan. (In reply to Justin Zobel from comment #4) > I've just tested against systemsettings 5.20.2 and I can't reproduce this > issue, the ger language shows EurKEY (US), English (US) and German layouts. > > Can you please test and confirm if this issue is still occurring or if this > bug report can be marked as resolved. I'm setting status to "needsinfo" > pending your response, please change back to "reported" or "resolved" when > you respond, thanks Jonathan. I can confirm that the issue seems to be resolved meanwhile also for me. Sysinfo: Operating System: Debian GNU/Linux KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1 Kernel Version: 5.9.0-1-amd64 OS Type: 64-bit Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31.4 GiB of RAM Graphics Processor: Radeon RX 580 Series |