Version: 4.7 (using KDE 4.7.0) OS: Linux I configured 4 keyboard layouts (English US - "us", English US international with dead keys - "int", Romanian - "ro", and English Dvorak - "dv") and I use the systray icon to show the current layout and switch between them by clicking. However I recently noticed that I can only switch between 2 layouts by clicking. E.g. if "us" is selected, then clicking it will jump to "ro", and clicking "ro" jumps back to "us". If I right-click and select the layout from the list, then it actually switches to the next layout - selecting "us" switches to "int", selecting "int" switches to "ro", selecting "ro" switches to "dv", and selecting "dv" switches to "us". So I switch to "int" by selecting "us", then if I click the icon, it jumps to "dv", and clicking "dv" it jumps back to "int". Reproducible: Sometimes Steps to Reproduce: I'm not sure what triggers the problem. It might have something to do with restarting kwin and/or plasma. Expected Results: Cycle through 4 layouts by clicking; switch to the selected layout after right-click.
Could you please attach your kxkbrc file? I suspect you turned on spare layouts feature in system settings - you might wanna turn it off
Created attachment 62822 [details] kxkbrc Spare layouts are not enabled
Could you please provide output of setxkbmap -print after you just logged in? Also does reapplying of keyboard configuration help?
Do you need me to log out? That will have to wait (possibly a very long time). Reapplying the keyboard config doesn't change anything.
ok, can you please provide current setxkbmap -print ?
xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+us(intl):2+ro:3+us(dvorak):4+inet(evdev)" }; xkb_geometry { include "pc(pc104)" }; };
Ok, I restarted X now and here is setxkbmap -print: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+us(intl):2+ro:3+us(dvorak):4+inet(evdev)" }; xkb_geometry { include "pc(pc104)" }; }; Looks the same to me.
Also, layout switching from the icon works correctly.... for now.
Is this still a problem? If yes which key are you using to switch keyboard layouts?
I haven't reproduced it since my last message. I'm running kde 4.7.1 now. I don't use any key to switch keyboard layouts.
Does that mean we can close this bug?
(In reply to comment #11) > Does that mean we can close this bug? Yeah, ok. I'll reopen if it happens again.
Hi, it happened again, with the same symptoms (using kde 4.7.3 now). I connected to my computer with vnc earlier (through kde desktop sharing), I wonder if that had something to do with it.
It seems that it consistently happens after accessing my computer through vnc.
Sorry for late reply, I didn't have much time lately to work on this. Connecting though vnc may affect (support for xkb in remote desktop apps are quite sketchy). If you still see it, could you please provide the output of setxkbmap -print after you connect via vnc? Thanks.
Is this still a problem, could you please provide the output of setxkbmap -print after you connect via vnc?
I'm on a different computer now, and can only connect via vnc from windows. I tried to reproduce the bug and it didn't happen. If I reproduce it later, I'll reopen and provide the requested info.