Version: (using KDE KDE 3.5.1) Installed from: Gentoo Packages Compiler: gcc-3.3.4 OS: Linux Several keyboard layouts fail to load, resulting in the err flag. I tried to load them with $ dcop kxkb kxkb setLayout "$layout" My list of layouts includes $ dcop kxkb kxkb getLayoutsList en_US(basic) de_CH(basic) la(basic) However right click on kxkb layout indicator shows for the failing layouts - the wrong flags (unlike in Control Center) - no description of the layout (unlike in Control Center) I didn't experience this bug with KDE 3.5.0. I use X.org 6.8.2 since longtime now. Set of failing layouts hr_US fo ko mn se_FI se_NO se_SE nec/jp fr_CH de_CH tr_f en_US suspect: maybe uppercase letters aren't processed? - dunno out of the whole set of layouts us U.S. English en_US U.S. English w/ ISO9995-3 us_intl U.S. English w/ deadkeys al Albanian ar Arabic am Armenian az Azerbaijani by Belarusian be Belgian ben Bengali bs Bosnian br Brazilian bg Bulgarian mm Burmese ca Canadian ca_enhanced French Canadian hr Croatian hr_US Croatian (US) cz Czech cz_qwerty Czech (qwerty) dk Danish nl Dutch dvorak Dvorak dz Dzongkha / Tibetan ee Estonian fo Faroese fi Finnish fr French fr-latin9 French (alternative) ge_la Georgian (latin) ge_ru Georgian (russian) de German el Greek guj Gujarati gur Gurmukhi dev Hindi hu Hungarian hu_qwerty Hungarian (qwerty) is Icelandic iu Inuktitut ir Iranian il Israeli it Italian jp Japanese kan Kannada ko Korean lo Lao la Latin America lt Lithuanian qwerty "numeric" lt_std Lithuanian azerty standard lv Latvian mk Macedonian ml Malayalam mt Maltese mt_us Maltese (US layout) mn Mongolian no Norwegian ogham Ogham ori Oriya pl Polish pl2 Polish (qwertz) pt Portuguese ro Romanian ru Russian se_FI Northern Saami (Finland) se_NO Northern Saami (Norway) se_SE Northern Saami (Sweden) sr Serbian (Cyrillic) yu Serbian (Latin) si Slovenian sk Slovak sk_qwerty Slovak (qwerty) es Spanish se Swedish fr_CH Swiss French de_CH Swiss German syr Syriac tj Tajik tml Tamil tel Telugu th Thai (Kedmanee) th_tis Thai (TIS-820.2538) th_pat Thai (Pattachote) tr Turkish tr_f Turkish (F) ua Ukrainian gb United Kingdom uz Uzbek vn Vietnamese nec/jp PC-98xx Series
Created attachment 14517 [details] screenshot
Forgot to mention that with $ setxkbmap -layout "$layout" everthing works fine for theese layouts: hr_US se_FI se_NO se_SE fr_CH de_CH en_US while theese fail with the message "Error loading new keyboard description" fo ko mn tr_f nec/jp I really think this bug affects the layouts containing uppercase letters. Hmm.
Created attachment 14520 [details] kxkb-allow-uppercase-layouts.patch After browsing some code I identified the responsible code in rules.cpp. The attached patch fixes the bug perfectly. Everthing works as expected now. Please apply in SVN
Maybe allowing uppercase is also needed for variants. At least on my computer I get a variant "Sundeadkeys" with a capital S
I've already commited the fix yesterday for regression code made in January. But it was to late for 3.5.1. I've also sent email to kde packagers. Hopefully they'll include it. Please checkout the fix.