Repository navigation
Filmstrip and grid follow the active photo to its place in another source - #1143
Closed
PiMinusMax wants to merge 1 commit into
Closed
PiMinusMax wants to merge 1 commit into
PiMinusMax wants to merge 1 commit into
Conversation
…urce Showing another album, folder or All Photographs while the same photo stays active kept the filmstrip's (and the grid's) old scroll offset. The photo sits elsewhere in the new source, so the strip showed other photos than the active one, often with the active one off screen. follow_active now also remembers where the active photo is in the strip and scrolls to it when that place changes (another source, a filter, the sort order). The user's own scroll position stays put otherwise (issue storytold#11). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
#1253 landed in batch 32a (#1426) for the same issue (#1142). It follows the photo by id, so the grid doesn't scroll again after an import or a delete. Closing as covered. Thank you for the work, @PiMinusMax! Generated by Claude Code |
emmertex
added a commit
to endthestart/lightcraft
that referenced
this pull request
Nov 14, 2026
TEST-DIET: faster, leaner test suite (scene disk cache, ~1,100 fewer tests)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1142
follow_activealso remembers the active photo's index in the strip and scrolls to it when the index changes: another album, folder or source, a filter, or the sort order. Otherwise the user's scroll position stays put, as before (#11).With a sort by rating or edit time, an edit can move the active photo; the strip then follows it, which is intended.
Tests: new headless test
showing_another_source_brings_the_active_photo_back_into_view(filmstrip and grid, album ↔ All Photographs); it fails without the fix.cargo test -p lightcraft-ui-egui: all pass except the sixtests_model_setuptests, which fail the same way onmainin a build without denoise model support.