-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new autotype in KDE not working #1738
Comments
I face the same issue. After some debugging, here are some info on my side:
I suspect this is related to jordansissel/xdotool#43 |
Thanks for the detailed description, I'll try to reproduce it, meanwhile you can switch to legacy auto-type in settings / advanced. |
I'm also seeing the same issue as described by @newhinton with the new Keepass auto-type feature on Linux Mint 20.1 Cinnamon. KeeWeb v1.17.1 (c638fa3, 2021-03-10) |
I tried hard, but I can't reproduce it. It works for me on Ubuntu and KUbuntu with English and German layouts, so I need some help with testing. I can make a build with more logging, or just a standalone app that does auto-type, would anyone be able to spend some time on testing it? |
Sure, don't hesitate to drop me a line, I'd gladly spend some time on that. Long time user, very happy with the app. It's the least I can do. |
@Battleman thank you! 🙏 I made a minimalistic example that types Expected output:
|
I ran that, and this is the output:
and it spamms uppercase H (until ctrl-c exits the program). Also, the same issues as before |
Good, so it repeats, thank you! I'll try to understand and fix the error later today. Meanwhile, to fix KeeWeb, you can switch to legacy auto-type in Settings / Advanced. |
I already switched back, that works flawless! I have to add something: |
Do you have Caps Lock pressed when doing auto-type? I just managed to reproduce it if I press Caps Lock before, which means I can start working on a fix. |
Not caps-lock (i tried that, enabled/disabled, neither changes the behaviour) However Num-Lock seems to be an issue if i disable numlock, i get the desired output:
|
Cool, so now I think I understand it. Perhaps what happens, it tries to "unpress" the pressed "Caps/Num Lock" key, and this triggers an error. The fix should be easy, I'll post the same fixed example here when it's ready. |
Here's a fixed example: |
For me, your fixed example works! One note though, i don't know if thats expected or not, when caps-lock was enabled before the program is run, the ascii output gets inverted. (Hello! -> hELLO!) (the exclamationmark stays the same) |
Yep, noticed that too, I'll fix this as well and build KeeWeb with it to test |
CapsLock seems to be a bit harder to fix, so I'll leave it for later, since it's also broken in the legacy auto-type. It works for me with different modifiers pressed (apart from CapsLock of course). Could you please give it a test? |
Your fix works, thank you! It may be argued that capslock is working as intended, albeit i see that it would be useful to have that work as well. On a different topic, but also regarding auto-type: |
Cool, I'll make a release with it soon then. |
v1.17.2 is released 🎉 , please give it a try and let me know if it fixes the issue! |
All good, fixed in my end. Thanks a lot for that, I appreciate 👏 |
I can confirm, works for me too 👍 |
Thank you for verifying the fix and your patience! 🙏 |
Describe the bug
Using the new auto-type implementation makes the system unusable. Capslock seems to be stuck (only in software, the keyboard doesn't show capslock, which is probably expected behaviour), left mouse click is not working properly anymore (links in browser open in new window instead of just opening, and the OS-Buttons dont react sometimes)
Also, passwords are typed wrong so that the login fails. This can only be corrected with either rebooting or logging out and back into the system. Closing keepass (via kill or ksysguard) does not solve this issue.
It seems that the new implementation leaves an modifier key on.
Desktop OS: kubuntu 20.04
plasmashell 5.18.5
Legacy Auto-Type works as expected
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Autotype should work like older versions using xdotool
Environment
KeeWeb v1.17.1 (c638fa3, 2021-03-10)
Environment: electron v12.0.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) KeeWeb/1.17.1 Chrome/89.0.4389.69 Electron/12.0.0 Safari/537.36
Kdbx File
Personal DB. Will check Demo database when updating this ticket with logs
Logs
(Will add logs later)
The text was updated successfully, but these errors were encountered: