Skip to content

fix: proper compound ext support + compression ext handling - #1536

Merged
CyanVoxel merged 3 commits into
mainfrom
feat/multi-suffix
Oct 7, 2026
Merged

CyanVoxel merged 3 commits into
mainfrom
feat/multi-suffix

Conversation

@CyanVoxel

Copy link
Copy Markdown
Member

Summary

This PR fixes #1533 and implements #1534, while porting a bit of #1506 to implement #1505. Files with compound suffixes (currently limited to compression extensions but expandable with future registrations) will now search and display those suffixes as you'd expect as per #1533. All files with these compressed extensions will also now have the ability to render, not just archives, as these extensions are detected and routed through a new decompress function. Bunch of tests added as well.

For an example of the search changes, searching filetype:tar will now return .tar, .tar.gz, .tgz, etc., and filetype:tar.gz will be more specific and only return .tar.gz and .tgz. Searching filetype:gz will also return anything like .tar.gz or .txt.gz.

This was also done with a minimal impact to performance. On the dev branch I may add an additional column to the db to cache any compound extensions, which would further speed up search performance in this area.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.6.5 milestone Oct 7, 2026
@CyanVoxel CyanVoxel added Type: Feature New feature or request Type: UI/UX User interface and/or user experience Type: File System File system interactions TagStudio: Thumbs/Previews File thumbnails or previews Type: Fix A fix for a bug, typo, or other issue labels Oct 7, 2026
@CyanVoxel
CyanVoxel merged commit b73fede into main Oct 7, 2026
12 checks passed
@CyanVoxel
CyanVoxel deleted the feat/multi-suffix branch October 7, 2026 23:00
@CyanVoxel CyanVoxel mentioned this pull request Oct 7, 2026
2 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TagStudio: Thumbs/Previews File thumbnails or previews Type: Feature New feature or request Type: File System File system interactions Type: Fix A fix for a bug, typo, or other issue Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

1 participant