! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Keyboard layout plugin randomly changes layouts
Status:
RESOLVED: FIXED
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description Dmitry Suzdalev 2013-06-05 15:03:16 CEST
Recently started to use Xfce, configured keyboard layout plugin and noticed that my keyboard layout gets randomly swapped from time to time. 

I do a lot of typing, so this becomes obvious and I can see it happening many times a day. It seems like it doesn't depend on the keys I am pressing (it can be any letter, it can be an arrow, whatever).

But its for sure that it's not me accidentally triggering the switch. I clearly stumbled into this bug by just moving cursor: pressing 'j','j',j' in vim - bam! keyboard switched - no more going further (vim doesn't understand Russian letters).

According to this (recent) Arch forum post, I'm not the only one:
https://bbs.archlinux.org/viewtopic.php?pid=1283265

Some details:

Layouts: en, ru
Layout switch key: Caps Lock
Steps to reproduce: none, other than type a lot in English and see it switch to Russian! Seems to appear rather randomly.
Comment 1 Mikael 2013-06-06 11:53:12 CEST
In my experience, the switches happen every 10 minutes, and is not related to keyboard input.
As for my little test right now:
11:29AM Manual switch se->us int'l. Leave computer
11:32AM Check the computer. It has switched to se. Manual switch se->us, leave computer
11:38AM Still us. Leave computer again.
11:42AM Check the computer. Back to se. Manually set it back to us again.
11:51AM While I'm staring at the indicator in the notification bar, it switches back to se. (No hands on the keyboard!)

I have se and us (international) installed; se is the top option under 'properties', but us is marked as default.
Comment 2 Igor Slepchin editbugs 2013-06-06 21:29:45 CEST
Thanks Mikael, I can reproduce it with your config; I'll look into this.
Comment 3 Igor Slepchin editbugs 2013-06-08 01:07:21 CEST
If anybody is willing to test out the code from git, a fix has been committed to 4.10_panel_support branch. To check it out:

git clone --branch 4.10_panel_support git://git.xfce.org/panel-plugins/xfce4-xkb-plugin
Comment 4 Dmitry Suzdalev 2013-06-08 09:11:11 CEST
No git version here atm, but:

Thank you very much! :))
Comment 5 Dmitry Suzdalev 2013-06-15 09:18:44 CEST
Any hints on when to expect a package with this fix released?
Comment 6 Igor Slepchin editbugs 2013-06-19 23:00:47 CEST
Fixed in 0.5.6

Bug #10152

Reported by:
Dmitry Suzdalev
Reported on: 2013-06-05
Last modified on: 2013-06-19

People

Assignee:
Igor Slepchin
CC List:
2 users

Version

Attachments

Additional information