Oh, sorry, I thought you meant that auto-type does not work correctly with this keyboard layout. However, it seems you meant input to KeePass in general. This is unrelated to 'xdotool'; you can close the 'xdotool' ticket.
I’ve installed Keepass2 a few days ago, and found the same problem when trying to type my master password when using bépo. It seems that there is no problem with Mono: I built a little source code which open a window with an input field, and no problem.
Keepas2 2.28
Mono 3.2.8
Best Regards,
Youbi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use two keyboard layouts on my system: fr oss, and fr bepo_afnor.
The trick is to set x to use the azerty layout, then start mono, wait 1 second, then set x to use bépo again, and the field will actually accept bépo input.
Now if we enable KPUInput plugin (Auto-Type on Wayland systems), and that we are using the bépo layout, the auto-type will not detect that and type the wrong characters. As a workaround, I use this scripts to switch back to azerty, do the auto-type, wait for 4 seconds (the time it takes to type approx. 32 characters on my system), and then switch back to bépo layout. I assign this script to a global shortcut. Not ideal, but it might help until we get a better solution.
Interesting; please report it to the 'xdotool' developer here:
https://github.com/jordansissel/xdotool/issues
Thanks and best regards,
Dominik
hum… Ok.
https://github.com/jordansissel/xdotool/issues/25
even not working with the fileopen popup
Oh, sorry, I thought you meant that auto-type does not work correctly with this keyboard layout. However, it seems you meant input to KeePass in general. This is unrelated to 'xdotool'; you can close the 'xdotool' ticket.
Mono is responsible for handling keyboard input to KeePass. Your issue seems to be related to the following Mono bug:
https://bugzilla.novell.com/show_bug.cgi?id=323983
Best regards,
Dominik
xdotool's ticket closed.
2007?
no key swap for me.
essentially the 8 top left hand numbered keys producing nothing.
² plus 1 to 7
others keys seem working with the expected bépo layout.
mono's ticket:
https://bugzilla.novell.com/show_bug.cgi?id=822752
Hi,
No move at all on the mono's ticket above…
Are you sure that's the good place?
I've found: http://www.mono-project.com/Support
I try to re-post here…
Regards,
Sylvain.
I'm sure the Mono bugs tracker is the correct place to report this issue, yes.
Best regards,
Dominik
Hi,
I’ve installed Keepass2 a few days ago, and found the same problem when trying to type my master password when using bépo. It seems that there is no problem with Mono: I built a little source code which open a window with an input field, and no problem.
Keepas2 2.28
Mono 3.2.8
Best Regards,
Youbi
Hi there,
As I indicated in https://github.com/mono/mono/issues/14412, I found a small workaround to get bépo layout working in Keepass2 in Mono.
I use two keyboard layouts on my system: fr oss, and fr bepo_afnor.
The trick is to set x to use the azerty layout, then start mono, wait 1 second, then set x to use bépo again, and the field will actually accept bépo input.
I use this script to launch keepass:
You can adapt it to your needs. Maybe more minimally use:
I don’t know if something can be done on Keepass or mono’s side to fix this, now that we know that this workaround exists.
Last edit: Clément Baudouin 2023-10-16
Now if we enable KPUInput plugin (Auto-Type on Wayland systems), and that we are using the bépo layout, the auto-type will not detect that and type the wrong characters. As a workaround, I use this scripts to switch back to azerty, do the auto-type, wait for 4 seconds (the time it takes to type approx. 32 characters on my system), and then switch back to bépo layout. I assign this script to a global shortcut. Not ideal, but it might help until we get a better solution.
Last edit: Clément Baudouin 2023-10-16
I noticed something interesting: if I start Keepass while in azerty layout, Keepass will switch my keyboard to the other layout, bépo.
That’s probably a bug in Keepass as I could not reproduce this behaviour with the mono example that is available at https://github.com/mono/mono/issues/14412
See https://sourceforge.net/p/keepass/bugs/2273/
Last edit: Clément Baudouin 2023-10-16