Skip to content

[Bug]: Ui: duplicate subtag parents in tag editor #664

Closed
@SkeleyM

Description

@SkeleyM

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha v9.5.0 (main branch)

Operating System & Version

Windows 10 22H2

Description

In the tag editor, when creating or editing an existing tag's parent tags, pressing the '+' button multiple times on the same tag results in duplicate tags being added to the parent tags.

this is only a ui issue, saving the tag and reopening it in the editor shows only 1 tag
image

Expected Behavior

Only 1 unique tag should be in the parent tags

Steps to Reproduce

  1. create a new tag
  2. edit parent tags
  3. press the plus button multiple times on the same tag

Logs

2024-12-23 12:30:07 [info ] add_subtag_callback tag_id=1002
2024-12-23 12:30:08 [info ] add_subtag_callback tag_id=1002
2024-12-23 12:30:08 [info ] add_subtag_callback tag_id=1002

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: HighAn important issue requiring attentionTagStudio: TagsRelating to the TagStudio tag systemType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions