Skip to content

[Regression]: Duration labels can rarely appear on incorrect thumbs #1125

@CyanVoxel

Description

@CyanVoxel

Checklist

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

TagStudio Version

main branch (Alpha v9.5.5+)

Operating System & Version

macOS 15.6.1

Description

Regression of #1009 and possibly #965. Duration labels now have a chance to show in the incorrect files, for example these Keynote files:
Image

I believe this is due to the removal of the timestamp check for updating item thumb labels in #1119, as that was the fix added in #1010. I didn't make a comment on it at the time because I was unable to reproduce the regression with the new layout, but (of course) as soon as it was pulled I encountered an edge case that reproduced it. Moving pages around causes the duration labels to reset.

Expected Behavior

Item thumbnails should only show the information for the current entry representing them.

Steps to Reproduce

(Difficult to reproduce reliably)

  1. Be on a page that has files with duration labels on the top-most rows
  2. With new non-audio/video files added to the library, refresh the page
  3. That may cause the race condition that produces the bug

Alternatively, load a library that has several videos at the top of a long page and other file types further down. Scrolling quickly may reproduce the issue.

Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastThumbs/PreviewsFile thumbnails or previewsType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions