Bug 346942

Summary: after some time layout doesn't change
Product: kxkb Reporter: Ivan Kush <ivan.v.kush>
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: gorilych, nate, peti.boromissza
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ivan Kush 2015-04-30 08:55:11 UTC
I use the last Kubuntu 15.04 from site and while installation choose to upgrade.
I have several layouts: English, Russian and Swedish. The key for layout changing is the Left Win.
Several minutes it worked, but then I can't change the layout: key doesn't work and changing the layout in the tray also doesn't work.

As a solution I use.
Then I go to settings, undef layout key, click apply. Then define layout key, click apply - language switching begins to work.

Reproducible: Always
Comment 1 Ivan Kush 2015-04-30 09:10:16 UTC
KDE 5.09
Comment 2 Ivan Kush 2015-04-30 09:12:15 UTC
or 5.9
Comment 3 Ivan Kush 2015-04-30 09:13:27 UTC
KDE 5.9.0 - correct=)
Comment 4 Andrey Kartashov 2015-11-09 07:55:35 UTC
I have the same issue with Kubuntu 15.10 / KDE 5.4.2
Comment 5 Peter Boromissza 2019-02-11 15:54:17 UTC
Just to add an other data point:

The issue still reproducible on KDE 5.14 (arch linux).

If I change the layout with the widget on tray, the keybinding will start working for a time, but it soon stops working again.

Because of this bug, I've tried to switch to Cinnamon (4.0.9), but interestingly that has almost the same issue.
The only difference is, that on Cinnamon, the keyboard layout switching applet disappears from the tray the same time when the keybinding stops working. Changing the keybinding in the keyboard settings app re-enables the applet and the keybinding for a time.

Could it be a common dependency, or copy/pasted code?
Comment 6 Andriy Rysin 2019-02-13 18:09:47 UTC
There's good chance there's something on your system that resets keyboard layouts.
Usually it's input method daemons, try disabling input method on your system and see if it helps.
Comment 7 Peter Boromissza 2019-05-02 13:00:02 UTC
(In reply to Andriy Rysin from comment #6)

You were right, my issue is unrelated. Running `setxkbmap -print -verbose 10` told me, that the initial "us,hu" layout has been changed to "us", and this is the reason for the disappearing layout selector widget.
Comment 8 Nate Graham 2021-03-20 04:49:28 UTC
Sounds like this was caused by somebody else's code interfering with it.