Skip to content

[Bug]: "Search for Tag" from Library Tags takes significantly longer than searching for tags #1306

@patrick-nicodemus

Description

@patrick-nicodemus

Checklist

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

TagStudio Version

9.5.6

Operating System & Version

Linux Mint 22.2

Description

When I open the "Library Tags" window, I can right-click on a tag and search for all items on this tag.
But this is doing something significantly different than if I had just entered the tag into the search bar.
When I click "Search for tag", the search bar is populated with a string tag:1234 which then cycles through a large number of similar tags before this terminates and returns all titles with the tag. Possibly, it is recomputing the graph, or iterating through all tags which may have this tag as an ancestor.

Expected Behavior

I expect clicking on "Search for tag" to have the same performance characteristics as typing the tag into the search bar.

Steps to Reproduce

Go to Edit > Manage Tags. right click on a tag. "Search for tags." Keep an eye on the search window.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TagStudio: LibraryRelating to the TagStudio library systemTagStudio: TagsRelating to the TagStudio tag systemType: BugSomething isn't working as intendedType: DuplicateThis issue or pull request already existsType: PerformanceAn issue or change related to performance

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions