joplin
joplin copied to clipboard
Unused tags stay listed in the sqlite DB
Unused tags stay listed in the sqlite DB. Could be that this is intended, and in that case my apologies.
Environment
Joplin version: 2.12.10 Platform: macOS OS specifics: Ventura 13.4.1 (arm64)
Steps to reproduce
- Turn off note history (just to demonstrate that this is unrelated to history).
- Add a new tag (used for the first time) to a note.
- Remove the tag from the note using the tags dialog.
- Check the
tags
table in the DB. You may verify that the tag ID is unused, e.g. in thetags_with_note_count
view.
Describe what you expected to happen
I expected unused tags not to linger in the DB, as orphan tags can accumulate needlessly. I noticed that they are removed from the tags
table when running the command "remove" from the tags context menu.