-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
EPKL Does Not Work With Password Manager Auto Type #54
Comments
Interesting! No, it doesn't count as a bug on either side but it is a delicate interaction. You can of course suspend EPKL by hotkey whenever you want to use KeePass. Or even make EPKL auto-suspend by active program and/or web page, if that helps. But it doesn't sound like a complete solution. The issue is that KeePass really does its thing, hard core. EPKL doesn't work in some password windows because they don't respect its It's theoretically possible to make passwords for yourself that are layout agnostic. But I can't recommend that too loudly, as it will reduce the number of available keys for passwords by quite a few which means a bit less security. What I can say however, is that actual password security correlates more with password length than with human-perceived complexity! On a side note: If writing a long post takes too much of your time, you could try a Tarmak transition? But now that you've started with the cold-turkey approach I guess you'll want to continue with that. |
To work around this issue, I have modified the EPKL source to hijack some of the built-in hotkeys to disable and enable EPKL. Then I added those hotkeys to the KeePass autotype sequence to disable EPKL and enable it again as soon as it's done typing. I realize EPKL has an existing hotkey to toggle enabling disabling but toggling isn't what's needed when using KeePass to control EPKL's state. In pkl_init.ahk, I commented out the lines for hotkeys I won't use And added two new keys In the settings override file I added My autotype sequence in KeePass looks like |
@zoidy Thanks! I'd forgotten about this issue. I just got in the habit of turning EPKL off by hotkey, but your solution looks pretty nice. Can you explain what's wrong with the existing hotkeys though? I don't understand what you mean about toggling vs. enabling/disabling, and that not working with KeePass. 2 years in and I'm still rocking Colemak, still loving EPKL. The Caps-Mod shortcuts have become second nature to me. I miss them so much when I use another keyboard. |
TL DR; using the built-in toggle shortcut in the autotype sequence is probably fine for most I suppose that's specific to my use case. I usually have EPKL enabled but sometimes disable it when I undock my laptop (never really got used to the different layout on a smaller keyboard). In that case, if one adds the toggle that comes with EPKL to the KeePass autotype sequence ( |
Tell me though... Does KeePass use its own window? Because if it does, then you could just use EPKL's built-in Auto-Suspend to disable EPKL whenever the KeePass window is active. There's even an EPKL hotkey (epklDebugHotkey, default Ctrl+Shift+0, mentioned by Zoidy) that you can use to detect program data to enter in the settings for Auto-Suspend. If KeePass does get an active/in-focus process, try it out. Regarding Zoidy's resourceful solution, I don't get why you couldn't just change the EPKL Suspend hotkey to ^+9 in the Settings instead of modifying source code. Maybe I'm missing something? Ah, it's because you don't want the toggle but explicit on and off hotkeys. I see. Yes, you did explain it. I need more coffee, hehe. But as you imply, that'd be too complex for most users. Glad you figured that one out then, you smartie, you!  ̄(=⌒ᆺ⌒=) ̄ |
That would have been the cleanest solution. Unfortunately, the way autotype works is that the the window that is being autotyped into has to have the focus |
* Added explicit Suspend On/Off HKs * Unlike the toggle, not used by default * Useful, e.g., with KeePass autotype * See EPKL Issue fix #54
Okay, so I did this: Added two new hotkeys: So that means you can now do your KeePass trick for suspending EPKL, without editing the EPKL source code. Thanks, @zoidy, for discovering this fix! |
Awesome software, thank you! It allows me to try Colemak at work where I don't have admin privileges.
I noticed, however, that my password manager's auto type (KeePass 2) has broken.
For example, instead of jackabomb, it types naceabymb.
naceabymb is, coincidentally, what you get if a QWERTY user tries to type jackabomb on Colemak.
Sure enough, AHK history reveals KeePass attempting to use QWERTY and AHK
interferingdoing its job.Unless otherwise noted,
type i
events are AHK whiletype h
events are KeePass.If I turn off EPKL, this is the output. We can see the whole invocation this time.
Interestingly, I get the same (correct) result if I switch the Windows layout to Dvorak (with EPKL still turned off). This suggests that KeePass detects the active keyboard layout and adjusts accordingly. Indeed, their web site warns
KeePass Auto-Type Requirements and Limitations
This supports the idea that they do know the layout normally.
So. I'm not even convinced this is a bug in EPKL or KeePass. Perhaps it's merely an unfortunate point of incompatibility, but I'd appreciate any thoughts or ideas on the subject, or any possible workarounds. For the moment, I just switch layouts in EPKL when I need auto type, but that is inconvenient.
Thanks again! 😃
P.S. Yes, this took like an hour to compose. 75% drop in speed hurts so bad... 😭 Ah, the agony of switching layouts!
The text was updated successfully, but these errors were encountered: