keepassxreboot / keepassxc-browser

KeePassXC Browser Extension
GNU General Public License v3.0
1.78k stars 188 forks source link

TOTP autofill via keyboard shortcut not functional #2382

Open foss- opened 1 week ago

foss- commented 1 week ago

Expected Behavior

Login on paypal.com works and keyboard shortcuts can be used to fill email and password. Autofill should also work when using keyboard shortcut to fill TOTP, but TOTP is not filled. The workaround to simply click the speech bubble does work as expected.

Current Behavior

Using keyboard shortcut should fll TOTP info.

Possible Solution

It seems TOTP field is correctly detected, but for an yet unknown reason not filled when using the keyboard shortcut.

Steps to Reproduce (for bugs)

  1. open paypal.com
  2. fill email + password
  3. set keyboard shortcut to fill TOTP
  4. use keybaord shortcut for TOTP when asked for it

Debug info

KeePassXC 2.7.9 KeePassXC-Browser 1.9.4 Operating system macOS 15.1 Browser: Firefox 132.0.1

droidmonkey commented 1 week ago

Just tested Paypal TOTP on Edge and the keyboard shortcut worked just fine. Make sure it is still mapped correctly in your keyboard settings

foss- commented 1 week ago

Thanks for verifying this issue is not a problem in edge. The thing is, since the keyboard mapping for TOTP fill works on other sites I am positive the mapping itself is not the issue and functional.

varjolintu commented 1 week ago

I have been already investigating this issue because I got a report about it week ago. There's something strange happening with the input field focus when the keyboard shortcut is triggered. I don't have a solution yet, but it's a bug for sure.