Skip to content

feat: improve responsiveness of GIF entries#894

Merged
CyanVoxel merged 3 commits into
TagStudioDev:mainfrom
Computerdores:feat/gif_performance_improvement
Mar 31, 2025
Merged

feat: improve responsiveness of GIF entries#894
CyanVoxel merged 3 commits into
TagStudioDev:mainfrom
Computerdores:feat/gif_performance_improvement

Conversation

@Computerdores

@Computerdores Computerdores commented Mar 29, 2025

Copy link
Copy Markdown
Collaborator

Summary

Improves responsiveness of opening GIF entry by passing file path directly to QMovie instead of opening the image and copying it twice.

Fixes #816.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality (GIF, APNG, WEBP)
    • PyInstaller executable

@Computerdores Computerdores moved this to 🏓 Ready for Review in TagStudio Development Mar 29, 2025
@Computerdores Computerdores added Type: UI/UX User interface and/or user experience Status: Review Needed A review of this is needed Type: Performance An issue or change related to performance labels Mar 29, 2025
@Computerdores Computerdores marked this pull request as draft March 29, 2025 16:07
@Computerdores Computerdores removed the Status: Review Needed A review of this is needed label Mar 29, 2025
@Computerdores Computerdores marked this pull request as ready for review March 29, 2025 16:45
@Computerdores Computerdores added the Status: Review Needed A review of this is needed label Mar 29, 2025
@CyanVoxel CyanVoxel moved this from 🏓 Ready for Review to 👀 In review in TagStudio Development Mar 29, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5.2 milestone Mar 29, 2025
@CyanVoxel CyanVoxel added Priority: High An important issue requiring attention and removed Status: Review Needed A review of this is needed labels Mar 30, 2025
@CyanVoxel CyanVoxel moved this from 👀 In review to 🍃 Pending Merge in TagStudio Development Mar 30, 2025

@CyanVoxel CyanVoxel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome fix! Tested on macOS+SSD, Windows+HDD, and NixOS and haven't run into any regressions.

@CyanVoxel CyanVoxel merged commit e3b2eaf into TagStudioDev:main Mar 31, 2025
@github-project-automation github-project-automation Bot moved this from 🍃 Pending Merge to ✅ Done in TagStudio Development Mar 31, 2025
@Computerdores Computerdores deleted the feat/gif_performance_improvement branch July 6, 2025 17:29
SysAdminDoc pushed a commit to SysAdminDoc/TagStudio that referenced this pull request May 19, 2026
* feat: create QMovie with file path instead of copying image around

* fix: make ignore pyright specific so mypy doesn't complain

* fix: restore ability to delete file while viewing it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: High An important issue requiring attention Type: Performance An issue or change related to performance Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Bug]: The app freezes when clicking on a GIF image

2 participants