You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently changed the directory of my database file, let's say from /a/db.kdbx to /b/db.kdbx, then opened it with KeePassXC. All was fine and well, but when shutting down or rebooting my PC and reopening KeePassXC, rather than reopening the file (now located at /b/db.kdbx), it opened the start screen with the recent files list at the bottom. ~/.cache/keepassxc/keepassxc.ini showed that LastOpenedDatabases=/a/db.kdbx despite having opened the file most recently from /b/db.kdbx. This only resolved itself once I unlocked the database, then closed the program with it unlocked and re-launched during that same session.
Steps to Reproduce
Open a database in any directory, close KeePassXC
Move the database, relaunch KeePassXC, and open the database from its new location
Note that LastOpenedDatabases is not updated. It is further not updated when closed during shutdown and reboot
Expected Behavior
I would expect this changed location to be written after a database is opened, or during login session shutdown/restart.
Actual Behavior
It is only changed on program shutdown.
Context
Unlike #5313, ~/.cache is not mounted to a temporary fs. My setup does not involve any fs being mounted/unmounted during day-to-day use.
I would expect that closing the program via the UI should behave the same as SIGTERM, which is how it is closed on shutdown. Is there a reason they are not handled the same way?
I guess my confusion is that I wouldn't consider Database -> Quit via the menu / keyboard shortcut to be the only "valid" way to close the program such that open databases would be saved.
Overview
I've recently changed the directory of my database file, let's say from
/a/db.kdbx
to/b/db.kdbx
, then opened it with KeePassXC. All was fine and well, but when shutting down or rebooting my PC and reopening KeePassXC, rather than reopening the file (now located at/b/db.kdbx
), it opened the start screen with the recent files list at the bottom.~/.cache/keepassxc/keepassxc.ini
showed thatLastOpenedDatabases=/a/db.kdbx
despite having opened the file most recently from/b/db.kdbx
. This only resolved itself once I unlocked the database, then closed the program with it unlocked and re-launched during that same session.Steps to Reproduce
LastOpenedDatabases
is not updated. It is further not updated when closed during shutdown and rebootExpected Behavior
I would expect this changed location to be written after a database is opened, or during login session shutdown/restart.
Actual Behavior
It is only changed on program shutdown.
Context
Unlike #5313,
~/.cache
is not mounted to a temporary fs. My setup does not involve any fs being mounted/unmounted during day-to-day use.KeePassXC - Version 2.6.2
Revision: e9b9582
Operating System: Debian 11
Desktop Env: KDE
Windowing System: X11
The text was updated successfully, but these errors were encountered: