Bug 457156 - Swap keys become invalid after a random period
Summary: Swap keys become invalid after a random period
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.24.4
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-07-26 11:58 UTC by coding-matter
Modified: 2024-09-20 09:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description coding-matter 2022-07-26 11:58:02 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Enable swap Ctrl and Caps Lock


OBSERVED RESULT
2. After some time (hours to days) it will become invalid, the keys become not swapped again, but the option in the settings remain checked
3. Disable the setting and re-enable it makes it work for another few hours or days.

EXPECTED RESULT
The setting remain working forever

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora Linux 35
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 coding-matter 2022-07-26 12:02:28 UTC
Experienced this constantly on my desktop, but rarely experience on my laptop, maybe there is some problem of handling external keyboard.

Tried to change keyboard and it replicates.
Comment 2 coding-matter 2022-08-24 14:50:55 UTC
After switching to a Bluetooth mouse, it replicates every time when mouse (and computer) is idle for sometime (and it disconnects temporarily maybe for energy control). I guess that whenever a keyboard or mouse is disconnected and reconnected this setting is somehow forgotten or refreshed.
Comment 3 coding-matter 2022-09-20 00:31:29 UTC
This also happens when I use a bluetooth mouse and connect additional bluetooth device to it, e.g. earphone.
Comment 4 coding-matter 2022-11-17 18:07:29 UTC
I now am almost sure that the setting will be overridden or ignored whenever a new Bluetooth connection is started. It is strange because my keyboard is connected by cable.
Comment 5 coding-matter 2023-06-19 00:01:29 UTC
It seems to be fixed after switched to use wayland.
Comment 6 Andrey 2023-06-19 05:24:49 UTC
We have potential fix for that. Are you able to compile Plasma yourself to test it?
Comment 7 David Edmundson 2024-09-20 09:18:34 UTC
>It seems to be fixed after switched to use wayland.