keepassxc-browser
keepassxc-browser copied to clipboard
AutoOpen entries "are not considered" until KP is focused before retrying on the browser
Expected Behavior
- Open the page to authenticate
- Click the gray KeePass icon
- Type your password
- ... wait for the auto-open db to open
- KeePass icon on the username becomes green
- Credentials come by clicking it
Current Behavior
- Open the page to authenticate
- Click the gray KeePass icon
- Type your password
- ... wait for the auto-open db to open
- KeePass icon on the username stays gray, no credentials come by clicking it
- Refresh the page
- KeePass icon on the username is green, no credentials come by clicking it
- Focus KeePass in order to verify that the db has opened
- Focus the tab of the new DB (that contains the entry)
- Go back to Chrome
- "Miraculously" credentials already wait me
Possible Solution
Steps to Reproduce (for bugs)
Debug info
KeePassXC - 2.7.7 KeePassXC-Browser - 1.9.0.3 Operating system: Linux x86_64 Browser: Chrome/Chromium 114.0.0.0
19:51:21.044 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:05:39.400 global.js:132 [Error keepass.js:385] KeePassXC-Browser - 1: Database not opened
22:05:39.401 global.js:132 [Error httpauth.js:76] KeePassXC-Browser - No logins found for HTTP Basic Auth.
22:05:58.124 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:06:12.373 global.js:132 [Error keepass.js:385] KeePassXC-Browser - 1: Database not opened
22:06:22.801 global.js:132 [Error client.js:211] KeePassXC-Browser - 15: No logins found
22:06:24.050 global.js:132 [Error client.js:211] KeePassXC-Browser - 15: No logins found
22:06:33.645 global.js:132 [Error client.js:211] KeePassXC-Browser - 15: No logins found
22:06:53.406 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:08:29.208 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:10:43.367 global.js:132 [Error keepass.js:385] KeePassXC-Browser - 1: Database not opened
22:10:43.389 global.js:132 [Error keepass.js:385] KeePassXC-Browser - 1: Database not opened
22:15:34.803 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:15:56.355 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
22:16:38.385 global.js:132 [Error page.js:132] KeePassXC-Browser - Cannot send activated_tab message: Could not establish connection. Receiving end does not exist.
I'd be nice if there were some other information too on the logs (namely, successes, where entries are coming from, etc)
Is the wiki btw up-to-date? https://github.com/keepassxreboot/keepassxc-browser/wiki/Troubleshooting-guide#4-debug-the-extension-itself
My extension options looks like this
This is the only step that matters:
Focus the tab of the new DB (that contains the entry)
We have an issue already tracking needed improvements to "focused DB" behavior.
Can you mention it / close this as duplicate? 😄
This is related to https://github.com/keepassxreboot/keepassxc-browser/issues/1275 and https://github.com/keepassxreboot/keepassxc-browser/issues/206