Checklist
TagStudio Version
Alpha 9.5.3+ (main branch)
Operating System & Version
macoS 15.5
Description
Tags can erroneously be parented to each other, and that causes a regression of #875 where the program freezes when trying to recursively trace the ancestor hierarchy (for notably when attempting to view tags in the preview panel.
Expected Behavior
Tag A should not be shown in the "Add Parent Tags" list of Tag B if Tag A has Tag B as a parent
- Cyclical parent tag relationships should not be allowed in the database
- The program should not allow a scenario in which it locks up like this
Steps to Reproduce
- Have two tags,
Tag A and Tag B
- Edit
Tag A to have Tag B as a parent, and then edit Tag B to have Tag A as a parent
- Add one of the tags to a file to preview, or click on a file that already has one of the tags present to preview and observe the freeze
To undo these changes, you can relaunch TagStudio and edit the tags from the "Manage Tags" menu in order to undo the relationship.
Logs
N/A
Checklist
TagStudio Version
Alpha 9.5.3+ (main branch)
Operating System & Version
macoS 15.5
Description
Tags can erroneously be parented to each other, and that causes a regression of #875 where the program freezes when trying to recursively trace the ancestor hierarchy (for notably when attempting to view tags in the preview panel.
Expected Behavior
Tag Ashould not be shown in the "Add Parent Tags" list ofTag BifTag AhasTag Bas a parentSteps to Reproduce
Tag AandTag BTag Ato haveTag Bas a parent, and then editTag Bto haveTag Aas a parentTo undo these changes, you can relaunch TagStudio and edit the tags from the "Manage Tags" menu in order to undo the relationship.
Logs
N/A