Skip to content

Conversation

@vtyrtov
Copy link
Contributor

@vtyrtov vtyrtov commented Nov 18, 2025

The filmstrip current-image marker (black arrow) was appearing on multiple thumbnails spaced by the number of visible items in the filmstrip. This occurred because the w_cursor widget visibility was tied only to thumb->active flag, which could be set on multiple thumbnails during scrolling and thumbnail reuse.

The fix adds a double-check in _thumb_update_icons() to ensure the cursor arrow is shown only when both conditions are met:

  • thumb->active is TRUE
  • thumb->imgid matches the first entry in active_images list

This ensures only the actual current/active image displays the marker, eliminating visual confusion between selection highlight and current-image indicator.

Fixes #19772

The filmstrip current-image marker (black arrow) was appearing on
multiple thumbnails spaced by the number of visible items in the
filmstrip. This occurred because the w_cursor widget visibility
was tied only to thumb->active flag, which could be set on
multiple thumbnails during scrolling and thumbnail reuse.

The fix adds a double-check in _thumb_update_icons() to ensure
the cursor arrow is shown only when both conditions are met:
- thumb->active is TRUE
- thumb->imgid matches the first entry in active_images list

This ensures only the actual current/active image displays the
marker, eliminating visual confusion between selection highlight
and current-image indicator.

Fixes darktable-org#19772
@TurboGit TurboGit added this to the 5.4 milestone Nov 18, 2025
@TurboGit TurboGit added bugfix pull request fixing a bug scope: UI user interface and interactions labels Nov 18, 2025
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

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

Looks good, Thanks!

@TurboGit TurboGit merged commit 0237a52 into darktable-org:master Nov 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug scope: UI user interface and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Film strip marker for image which is being processed is shown for more than one image

2 participants