Menu

#1618 Deleted embedded icons do not get deleted upon save

KeePass_2.x
closed
nobody
None
5
2017-03-28
2017-03-27
Andreas F
No

Hi, sorry if there is a specific bug report format but I didn't check for it because this is straightforward:

  1. Add icon to db. Save db and close. All good.
  2. Open db, delete embedded icon. Icon is deleted (for now). Save db and close.
  3. Open db again and the icon is back.

The problem is probably that the save function does not take into account deleted icons.

Discussion

  • Dominik Reichl

    Dominik Reichl - 2017-03-27

    I cannot reproduce this. Please provide sample files (database and icon) and detailed steps what you're doing (which menu items / buttons you're clicking, etc.).

    Thanks and best regards,
    Dominik

     
    • Andreas F

      Andreas F - 2017-03-27

      I cannot share my database file but I created a new empty one and I cannot reproduce this. Could something be wrong with my db file? I tried to troubleshoot myself and this is what I know:

      This happens ONLY IN ONE db file (my main and only db file). It does NOT happen on newly created db files. This happens with any icon from flaticon.com (specifcally PNG 512x512). And here is a video I tried to show the issue. I hope this is helpful enough.

      https://youtu.be/3vzgPvgVXIk

       

      Last edit: Andreas F 2017-03-27
  • Paul

    Paul - 2017-03-28

    I can't reproduce it in my test database.
    Is the icon used anywhere else in your database?

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2017-03-28
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2017-03-28

    When you're invoking the 'Save' command, KeePass in your case performs a synchronization (instead of overwriting the file). During a synchronization, custom icons are merged; so it's not surprising that the custom icon that you just deleted reappears.

    My suggestion would be to try finding out why KeePass synchronizes instead of regularly saving the file. Possible causes include a change of the file on disk (e.g. by a cloud storage service), a trigger or a plugin.

    Best regards,
    Dominik

     

Log in to post a comment.

MongoDB Logo MongoDB