pwsafe
pwsafe copied to clipboard
[Wayland] Lock button and Alt+Tab and Unlock dialog does not appear automatically
Password Safe v1.19.1 flatpak on Ubuntu 24.04.
SCENARIO 1 - Wayland (the problem)
- Make sure you have not changed any flatpak settings (like changing some Flatseal setting or changing .desktop icon or starting flatpak from terminal with some parameters).
- Start Password Safe and type in master password.
- Click Lock icon or from menu File | Lock.
- Alt+Tab to some other program and Alt+Tab back to Password Safe. Problem appears. I expect Unlock Password Database dialog automatically appears (like it does on Windows), but what appears is Lock button is greyed out and main program is displayed without any group or entry (it looks similar to password database opened). In order to unlock the database you have to use File | Unlock.
SCENARIO 2 - X-window (works fine)
- Disable "Wayland".
First close down Password Safe.
a) Or start Password Safe from terminal:
flatpak run --nosocket=wayland org.pwsafe.pwsafeb) Or open /var/lib/flatpak/exports/share/applications/org.pwsafe.pwsafe.desktop file and after/usr/bin/flatpak runadd--nosocket=waylandc) Or use Flatseal GUI flatpak and disable "Wayland" and start Password Safe. - Click Lock icon or File | Lock.
- Alt+Tab to some other program and then Alt+Tab back to Password Safe and Unlock Password Database automatically appears (that is how Windows version is working) and it makes sense to me.
It looks like another Password Safe issue with Wayland.
Note: If you login into Linux with X-Window session, you probably get to the "SCENARIO 2" and never experience "SCENARIO 1" issue.