Skip to content

KeepassXC extension asks to connect to database as soon a second database is open (but not unlocked) #2961

@cquike

Description

@cquike

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

I have the following scenario:

  • Database 1 which has been already connect to the browser extension.
  • Database 2 which has not been connected to any browser extension.

If I have Database 1 open, then the extension works fine. As soon as I open Database 2, even before I try to unlock it, the browser extension icon grays out and says that it cannot connect to KeepassXC. The interesting thing is that if I click the tab in KeePassXC application with the Database 1 then the extension icon becomes green again and is usable. If I click on the Database 2 tab I am back to a dysfunctional browser extension. If I further unlock Database 2 then the extension remains disconnected even if I switch the tabs in the KeePassXC application.

All this seems to me like an unfortunate user interface, because Database 1 has remained open and unlocked all the time. Would it be possible to retain that connection with the extension still alive? It is fine if the extension offers to connect to Database 2 in addition, but without loosing the connection to Database 1.

Expected Versus Actual Behavior

The extension remains functional, still connected to Database 1.

Steps to Reproduce

  1. Open and unlock Database 1
  2. Browser extension is connected
  3. Open Database 2
  4. Browser extension is now disconnected even if Database 1 has not been closed or locked.

KeePassXC-Browser Debug Information

KeePassXC - 2.7.11
KeePassXC-Browser - 1.10.1
Operating system: Linux x86_64
Browser: Mozilla Firefox 147.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions