Testing version: Version 2.0 (9969)
What were you doing: Renaming a tag
What feature did you use: Edit tag
What happened:
Renaming a tag has a couple of surprising behaviors:
- If the tag is pinned, it becomes unpinned on rename.
- If there are subtags, and they are expanded (i.e., displayed in the side panel), after rename, the the subtags are collapsed (i.e., not displayed).
- If you rename the now-unpinned tag back to its original name, (e.g., “bear 2” → “bear two” → “bear 2”, it becomes pinned again! I’m guessing that there is a separate table in the db for pinning tags, and that table is not getting updated on rename.
What did you expect to happen:
Changing the name of a tag doesn’t have any surprising side effects. It’s pinned status should remain the same, as should the visibility of subtags in the Tags panel.