buttercup / buttercup-browser-extension

:earth_asia: Buttercup browser extension
https://buttercup.pw
MIT License
231 stars 42 forks source link

Asking to unlock a vault from the extension while the desktop app is running in the background opens an empty Vault Unlock popup #487

Open Oxalin opened 6 months ago

Oxalin commented 6 months ago

Extension 3.1.0 Desktop app 2.26.5

When asking to unlock a vault from the extension will the desktop app is running in the background, the Vault Unlock popup window will appear in the desktop app, but it will be empty, i.e. the passwprd field is absent. image

I'm still trying to figure out how this happens, I've seen it twice today. After restating the desktop app, I was unable to reproduce.

Oxalin commented 6 months ago

I think I found it. The desktop app must be running in the background, but the main window must be closed. When asking to unlock a vault from the extension, the desktop app's main window will appear with the empty popup. Even if we close the popup but keep the main window opened, asking to unlock a vault from the extension will continue to pop up an empty Vault Unlock.

If the desktop app's main window is opened by the desktop app (app icon > open or clicking the desktop app icon in the taskbar or in the app menu), the Vault Unlock popup is properly displayed.

Oxalin commented 6 months ago

Another clue seen from Windows which wasn't visible under Linux: when the empty Vault Unlock appears, there is in fact two main windows (for some reason, under Linux, there is only one visible main window, which may have to do on how the OS handles app which can be run once).

image