Menu

Auto save after modifying entry

Help
FFS_User
2022-08-29
2022-09-26
  • FFS_User

    FFS_User - 2022-08-29

    KeePass ver 2.44
    Subject: Modfied date stamp in windows file manager
    This is a minor thing once I determined what it was doing but just wanted to confirm this is the way it functions and I'm not missing another setting somewhere.


    Settings in Options->Tools->Interface
    [x] Disable Save if DB not modified

    This still leaves Save disabled if entry deleted and somehow even though the entry is in fact deleted, the DB file modified date stamp remains unchanged even with Auto Save On (see below)


    Settings in Options->Tools->Advanced
    [x] Auto save after modifying entry if using Entry Editing dialog.

    a. Windows File Manager modfied date stamp does change if Entry is modified using Entry Editing dialog.
    b. but does Not change if entire Entry is deleted from Database.
    (since it's not deleted using Entry Editing dialog)


    So to be safe I leave the below setting Unchecked, so I can manually save under any circumstances etc so the date stamp always reflecs the latest updated DB

    Settings in Options->Tools->Interface
    [ ] Disable Save IF db not modified

     
  • wellread1

    wellread1 - 2022-08-29

    The database timestamp is updated in file manager every time the database is saved, regardless of whether actual changes were made to the database data.

    If there are unsaved changes in a database KeePass displays an asterisk (*) next to the database name in the KeePass title bar and on the open database tab. KeePass doesn't automatically save a database that contains changes except under certain circumstances. The user may elect to manually save whenever they see the asterisk or create a trigger to save periodically.

    • If Auto save after modifying entry if using Entry Editing dialog is checked, KeePass will save the database whenever data is changed in Edit Entry dialog AND the dialog is closed by pressing OK. If Edit Entry dialog is not closed using OK, or no net changes were made, KeePass does not save the database automatically.
    • If Automatically save when closing/locking the database is checked, KeePass will automatically save a database that contains changes when it is closed, otherwise it prompts the user to take appropriate action.
    • KeePass treats entry deletion as a database change, but the change is not saved as soon as the deletion is made. KeePass will wait until the database is closed before it saves automatically, or prompts the user to take appropriate action.

    [ ] Disable Save IF db not modified

    This setting disables the save button if there are no changes in the database.

     

    Last edit: wellread1 2022-08-29
  • Paul

    Paul - 2022-08-29

    This still leaves Save disabled if entry deleted and somehow even though the entry is in fact deleted

    I can't reproduce this. If I delete an entry the Save button becomes available.
    Saving will then update the time stamp.
    Try the latest KeePass version - 2 years newer.

    cheers, Paul

     
  • T. Bug Reporter

    T. Bug Reporter - 2022-09-26

    FYI: The Save button is never actually disabled, just grayed out. You can re-save the current database (if you suspect that the existing copy is corrupted, has been moved, is not up to date, etc.) by clicking the gray button. (This has no actual relevance to the question of why making an update to a database might fail to un-gray the button, but I still thought it was worth mentioning here.)

     

Log in to post a comment.

MongoDB Logo MongoDB