lxqt / lxqt-config

Tools to configure LXQt and the underlying operating system
https://lxqt.github.io
GNU Lesser General Public License v2.1
79 stars 60 forks source link

keyboard layout config sometimes resets itself #956

Open fenugrec opened 9 months ago

fenugrec commented 9 months ago

This has been driving me crazy for a long time. Just got annoyed enough when it did it again today.

Context

I regularly use 2 keyboard layouts, and use Alt+Capslock to toggle between them.

Current Behavior

In unknown, but frequent circumstances, my Alt+Capslock shortcut stops working. Opening lxqt-config-input --show-page Keyboard Layout shows that the settings have reverted to the default : US layout only, no shortcut. I have to enter my settings again, apply & save, then continue working until it decides to forget my settings again.

Yet, even when it's reset and the shortcut is broken, my .config/lxqt/session.conf still has this section :

[Keyboard]
layout="us,ca"
model=pc105
options=grp:alt_caps_toggle
variant=","

just as it should. I don't know why suddenly the shortcut stops working. I'm not even sure how I could set a 'breakpoint' on this...

Steps to Reproduce (for bugs)

I'm sorry, there's no clear steps to reproduce this. It just happens very often, at unknown times.

  1. Select a second keyboard layout
  2. enable alt+capslock to toggle between layouts
  3. work normally, switching layouts often
  4. eventually it will stop working
System Information
reyespinosa1996 commented 8 months ago

It also happens to me, although in my case it happens when a new package is installed using Pacman or something get upgraded, it's not just the keyboard, but display resolution and touchpad settings.

Here is my System Information Distribution & Version: Arch Linux Kernel: 6.5.7 Qt Version: 5.15.11 liblxqt Version: 1.3.0-2 lxqt-config 1.3.0-1