KeePassDX icon indicating copy to clipboard operation
KeePassDX copied to clipboard

Manage history tags

Open CarlosLoboxyz opened this issue 3 years ago • 5 comments

Example: You create a new entry A with a tag B and you click save, then you delete A but the tag B still exist even if there are no entries associated with it, the problem with this is that the add tag section is populated with more and more unused tags and you cannot delete them. I also tried to do a backup and a reload db but none of this things remove this tags.

IMG-20220918-WA0002

In this example fffffff is not associated with any entry but it keeps appearing.

CarlosLoboxyz avatar Sep 18 '22 16:09 CarlosLoboxyz

Tags are loaded when opening a database. If you delete an entry but the entry is still in the recycle bin, the tag is still present. If the entry is completely deleted and the database is closed, the tag no longer appears the next time.

J-Jamet avatar Sep 19 '22 16:09 J-Jamet

I've turn off the recycle bin from the beginning, and also tried opening and closing the db, the issue persist

CarlosLoboxyz avatar Sep 19 '22 21:09 CarlosLoboxyz

I just retested and I don't have the problem. If your tag is present, it is retrieved at least in one entry because there is no specific list in the KeePass format, it is not possible otherwise. If the problem persists for you, please upload a database with a detailed procedure so that I can reproduce the problem.

J-Jamet avatar Sep 19 '22 21:09 J-Jamet

I came here to report that I still have this issue, but I have discovered that even if no entries have that tag, the tag will remain so long as there is an entry that previously used that tag in its version history. So searching for that tag will not work. You have to actually find the specific entry, and the specific version of that entry, and then remove that version, and the tag will be removed (after re-opening the database). This took me a while to figure out. There should be an option to specify whether you want searches to look through History or not. Even better, a dedicated page for Tags where you can remove them easily (I saw 1338).

Opening-Button-8988 avatar Jan 03 '24 05:01 Opening-Button-8988

I can see if I can make a filter to prevent using tags that are only in the history.

J-Jamet avatar Jan 22 '24 17:01 J-Jamet