keepassxc-browser icon indicating copy to clipboard operation
keepassxc-browser copied to clipboard

"Open password generator" doesn't do anything when database is locked

Open Sola85 opened this issue 6 months ago • 5 comments

Have you searched for an existing issue?

  • [x] Yes, I tried searching and reviewed the pinned issues

Brief Summary

In Firefix, when right-clicking on a password field and then clicking on "Show password generator" with a locked database, one out of two things happens:

  • Most of the time nothing happens.
  • Sometimes I get an error message like "This version of KeepassXC does not support opening the password generator. Please update KeepassXC". I'm on Version 2.7.10.

I think both of these behaviours are bugs and instead I should be prompted to unlock the database, just like I would be if i wanted to fill an existing password.

After unlocking the database manually, everything works as expected.

Steps to Reproduce

See above

Expected Versus Actual Behavior

See above

KeePassXC Debug Information

KeePassXC - Version 2.7.10
Revision: b342be4

Qt 5.15.11
Debugging mode is disabled.

Operating system: Windows 11 Version 2009
CPU architecture: x86_64
Kernel: winnt 10.0.26100

Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- YubiKey
- Quick Unlock

Cryptographic libraries:
- Botan 3.1.1

Operating System

Windows

Linux Desktop Environment

None

Linux Windowing System

None

Sola85 avatar May 24 '25 13:05 Sola85

What version is your keepassxc browser extension?

droidmonkey avatar May 24 '25 14:05 droidmonkey

1.9.8

Sola85 avatar May 24 '25 16:05 Sola85

I cannot reproduce this. Could you share debug logs from the browser's Web Developer console (make sure to enable Debug Logging in the extension settings)?

varjolintu avatar May 26 '25 18:05 varjolintu

I can reproduce the "doesn't do anything" aspect.

droidmonkey avatar May 26 '25 20:05 droidmonkey

So far, I havn't seen the erroneous error message again. The "doesn't do anything"-aspect is repeatable for me though.

Could you share debug logs from the browser's Web Developer console (make sure to enable Debug Logging in the extension settings)?

I activated Debug Logging and reproduced the issue, but upon clicking "Open password generator" with a locked database, I see no additional entries in the dev console.

Sola85 avatar May 27 '25 14:05 Sola85