! 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 settings still lost after updates on reconnecting USB devices
Status:
RESOLVED: MOVED
Product:
Xfce4-xkb-plugin
Component:
General

Comments

Description David Kovalský 2013-07-08 14:53:01 CEST
Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=838373
and similar reports suggest that the issue of keyboard settings (layouts) being lost is already fixed. 

But it isn't in my case. 

Here are a couple of reproducers:
0) except from US English, setup another keyboard (Czech qwerty in my case)

A) change keyboard manually by `setxkbmap'. All settings are gone.

B) Disconnect / Reconnect a USB hub with keyboard, mouse and USB stick attached.

C) Connect the same keyboard to a different USB port


While the recent update has fixed the crashes and when being extra careful it helps, it's still a great issue on notebook which get connected / disconnected seeveral times per day.

Version:
xfce4-xkb-plugin-0.5.6-1.fc18.x86_64 (Fedora 18)
Comment 1 David Kovalský 2013-07-08 14:58:28 CEST
I've opened a Fedora 18 bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=982240
Comment 2 Igor Slepchin editbugs 2013-07-15 19:50:03 CEST
I'm somewhat confused - why are you changing the settings with setxkbmap? Basically, you can think of xkb-plugin's behavior as undefined when changing XKB settings by outside means (practically speaking, the current version will pick up the changed settings and will eventually store them as its own; this will change a little in the xfce 4.12).

Do you still lose the XKB settings if you don't run setxkbmap? Is that reproducible?
Comment 3 David Kovalský 2013-07-22 01:39:01 CEST
Yes, I still loose the settings without setxkbmap. By unplugging keyboard, undocking, changing keyboard from direct connection to through USB hub. 


That's why I use setxkbmap (mapped to a keyboard shortcut) to not have to re-setup the whole keyboard config everytime I (un)dock :)

It's 100% reproducible in my case.
Comment 4 tomaspartl 2013-09-09 19:48:42 CEST
Hi!

I use Keyboard Layouts Plugin 5.4.3 and some components of xfce from a recent git and the problem you describe never affects me. (I have an English-US keyboard layout and two Czech layouts installed.)

I have a wireless keyboard which I sometimes unplug (weird you can unplug a wireless keyboard but yes, you can!) and the layout settings stay put.

So maybe try a more recent version of the Keyboard Layout Plugin and perhaps xfce4-settings and xfconf from the git.

I have a different issue with unplugging the usb keyboard which I am about to file a bug report on, though.
Comment 5 danielkurecka 2014-10-31 14:54:58 CET
Hey, I had similar problem, everytime I restart or logged out the keyboard shortcut was lost. I fixed it up by going to XFCE Settings -> Keyboard -> Layout and I checked 'Use system defaults' and this solves my problem, so maybe it can help someone too.
Comment 6 Igor Slepchin editbugs 2014-11-03 21:40:27 CET
Daniel, you may want to open a bug against xfce-settings - xkb-plugin doesn't handle the shortcuts (the keyboard settings you are using confusingly duplicate xkb-plugin's functionality, which will be fixed in xfce 4.12).
Comment 7 Git Bot editbugs 2020-05-23 01:15:13 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin/-/issues/22.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10226

Reported by:
David Kovalský
Reported on: 2013-07-08
Last modified on: 2020-05-23

People

Assignee:
Azamat H. Hackimov
CC List:
4 users

Version

Attachments

Additional information