keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.75k stars 1.44k forks source link

Auto-Type fails to type Cyrillic characters #9911

Open snooppr opened 11 months ago

snooppr commented 11 months ago

I have an account that has a username not in Latin, but in Cyrillic. I previously used KeePassXC-2.6.4-x86_64.AppImage, there were no problems (successful input when pressing ctrl+shift+v), but there was a slowdown: the speed of entering Cyrillic was sharply reduced compared to auto-input in Latin. I tried the new version: KeePassXC-2.7.6-x86_64.AppImage problem: it cannot enter the Cyrillic alphabet correctly (does not depend on the browser used or the form in the water on any site).

An example of reproducing the problem: bug

create an entry in KeePassXC v2.7.6 in Cyrillic login: Кириллица логин password: passswwwwoooord

Open a website, for example, https://fantlab.ru/ Use auto-enter in the form for login and password (ctrl+shift+v).

With each new unsuccessful auto-input attempt, you will skip various login characters at a slower speed.

Example N1 BUG KeePassXC cannot enter login: Кириллица логин


Example N2 BUG2 KeePassXC cannot enter login: Кириллица логин

OS: GNU/Linux (deb 10) KeePassXC-2.7.6-x86_64.AppImage Browsers: Firefox v117.0.1; Google Chrome v107 I repeat (rechecked): this problem does not exist in the old version of KeePassXC-2.6.4-x86_64.AppImage

droidmonkey commented 11 months ago

Yah this is completely broken, thanks for reporting!

This may be related to this issue though: https://github.com/keepassxreboot/keepassxc/issues/7881

snooppr commented 11 months ago

Please note that auto-entering the Cyrillic alphabet never worked correctly KeePaasXC in the RU layout, so you always had to switch the layout to EN before entering the password. But the problem here is that the login/password in Cyrillic is not auto-entered in any layout. Note: auto-entering the Cyrillic alphabet in the EN layout correctly enters the password into a text document, but in the Firefox browser it breaks.

droidmonkey commented 11 months ago

I couldn't get it to work in a simple text edit document. The behavior of Auto-Type changed in 2.7.0 to choose an appropriate keyboard layout for each key pressed, but it seems to be broken for Cryllic

snooppr commented 11 months ago

Okay, maybe the translator didn't convey the full meaning. Simplification.

The bug has always existed with the Cyrillic alphabet in all versions of KeePassXC, if you auto-enter the Cyrillic alphabet in the RU layout. But (v2.6.x) if you auto-enter the Cyrillic alphabet in the EN layout, it was entered correctly. And now the Cyrillic login and password are entered incorrectly in either RU or EN layouts.

That is, it would be great if you fixed two problems: the problem that happened after V2.7.0. And if only it would be possible to auto-enter the Cyrillic alphabet without switching the layout to EN (the problem has always existed), but directly from the ru-layout (as in regular keepass). Thank you.

UPD. Example gif KeePassXC-2.6.4 Automatically enter a Cyrillic login and password in the EN layout (correctly), and then the same data in the RU layout (incorrect).