Keepass changes my keyboard layout at startup
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
I have two layouts configured on my system.
If I start Keepass 2.55 while in azerty layout, Keepass will switch my keyboard to the other layout, bépo.
setxkbmap fr,fr oss,bepo_afnor; setxkbmap -query; mono /usr/lib/keepass2/KeePass.exe &; sleep 2; setxkbmap -query
rules: evdev
model: pc104
layout: fr,fr
variant: oss,bepo_afnor
[1] 143223
(cli:143223): Gtk-WARNING **: 12:41:16.727: Unable to locate theme engine in module_path: "adwaita",
rules: evdev
model: pc104
layout: fr,fr
variant: bepo_afnor,oss
I expect Keepass to not change my keyboard layout at startup.
Operating System: TUXEDO OS 2
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-10027-tuxedo (64-bit)
Graphics Platform: X11
It seems that the KPUInput plugin is responsible for that. If I remove the plugin, the issue does not happen.
This happens only when using KPUInput plugin while being in a X11 session. I know that it defeats a little bit the purpose of KPUInput to use it under X11 but I like to be able to switch from wayland to X11 sometimes and KPUInput plugin seems to work under X11 apart from this bug
Last edit: Clément Baudouin 2023-10-16
I've just tested this on an up-to-date Kubuntu 23.10 system (with the two French keyboard layouts that you mentioned, KeePass 2.55, KPUInput 1.4, X11, KDE 5.27.8, Kernel 6.5.0) and cannot reproduce the issue (i.e. the keyboard layout is not switched).
Maybe there's something special on TUXEDO OS 2...
Best regards,
Dominik