Bug 347352 - Shortcut for keyboard layout switcher is not remembered
Summary: Shortcut for keyboard layout switcher is not remembered
Status: RESOLVED FIXED
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
: 350863 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-06 22:44 UTC by Oscar Fuentes
Modified: 2016-04-07 16:51 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar Fuentes 2015-05-06 22:44:22 UTC
I go to Systems Settings, Global Keyboard Shortcuts. For KDE Keyboard Layout Switcher I change "Switch to next keyboard layout" to None and Apply. Now Ctrl-Alt-K works on the applications (e.g. Emacs). But after logout&login, the feature is assigned Ctrl-Alt-K again.

This is on Kubuntu 15.04 upgraded to Plasma 5.3 (it was the same with the stock Plasma 5.2.9)

Reproducible: Always
Comment 1 kroz 2015-05-11 20:24:11 UTC
I have the same behavior.

Can be reproduced as follows:

1. Run
$ watch head .config/kglobalshortcutsrc
to watch the effect.

2. Go to System Settings > Shortcuts > Global Keyboard Shortcuts; KDE component: KDE Keyboard Layout Switcher

3. Set shortcut 'Switch to Next Keyboard Layout' to none
Result: In kglobalshortcutsrc: 
Switch to Next Keyboard Layout=none,none,Switch to Next Keyboard Layout

4. Press [Apply] button

5. Go to System Settings > Input Devices > Keyboard
Result: In kglobalshortcutsrc: 
Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout

Which is incorrect, since I have not changed anything yet.
Comment 2 Jeff Spaulding 2015-06-09 18:01:47 UTC
Same here, on plasma 5.2.2, qt 5.4.1, kernel 3.19.0 (18) 64-bit (kubuntu 15_04).

I can change the setting, log out, log back in, and it's back.  The change in .config/kglobalshortcutsrc appears on login.

Disabling "Keyboard Daemon" from startup services stops it from happening, so my guess is that the keyboard daemon is changing the setting when it starts up.
Comment 3 Emil Sedgh 2015-07-10 15:36:31 UTC
I can reproduce this as well.
Using master branch.
Comment 4 Wolfgang Bauer 2015-07-28 08:48:52 UTC
This should be fixed now with the following commit:
http://quickgit.kde.org/?p=plasma-desktop.git&a=commit&h=fcdd29ac411a6806200c51887d64620f15dee998

Please reopen if you still see the problem in 5.4 (or latest master).
Comment 5 Rafis Kamaliev 2015-12-26 15:37:53 UTC
openSUSE Leap 42.1 (x86_64)"
Linux linux-b5px 4.1.13-5-default #1 SMP PREEMPT Thu Nov 26 16:35:17 UTC 2015 (49475c3) x86_64 x86_64 x86_64 GNU/Linux
KDE 4.14.10
Plasma5 5.4.3-6.1
Shortcut for keyboard layout switcher is assigned but not working. Layout indicator is not displayed.
Comment 6 Wolfgang Bauer 2015-12-28 14:51:49 UTC
(In reply to Rafis Kamaliev from comment #5)
> KDE 4.14.10
> Plasma5 5.4.3-6.1
> Shortcut for keyboard layout switcher is assigned but not working. Layout
> indicator is not displayed.

Are you sure you are using systemsettings5 to configure it?
Plasma5 ignores KDE4's settings, i.e. when you use systemsettings.
Comment 7 Wolfgang Bauer 2016-04-07 16:51:35 UTC
*** Bug 350863 has been marked as a duplicate of this bug. ***