Skip to content

Fix progress preview gallery selection#9217

Open
JPPhoto wants to merge 1 commit into
invoke-ai:mainfrom
JPPhoto:progress-preview-gallery-selection
Open

Fix progress preview gallery selection#9217
JPPhoto wants to merge 1 commit into
invoke-ai:mainfrom
JPPhoto:progress-preview-gallery-selection

Conversation

@JPPhoto
Copy link
Copy Markdown
Collaborator

@JPPhoto JPPhoto commented May 20, 2026

Summary

Fixes image viewer progress preview behavior when selecting gallery images during generation. Previously, selecting a gallery image during an active progress preview cleared the preview immediately, leaving the selected image visible until the next progress update or completion.

When a progress preview is visible, selecting a gallery image now shows that selected image for 2 seconds before returning to the active progress preview. The preview continues updating behind that temporary reveal. The Info button now matches the visible state: it is enabled during the 2-second selected-image reveal and disabled again when the progress overlay returns.

Also fixes a race where a stale completion handoff could clear a newer generation's progress preview.

Related Issues / Discussions

QA Instructions

Manual behavior to verify:

  1. Start a generation with Display Progress Images enabled.
  2. While the progress preview is visible, select a different gallery image.
  3. Confirm the selected image is shown for 2 seconds, then the progress preview returns.
  4. Confirm new progress updates continue and the latest preview is shown after the reveal.
  5. Confirm the Info button is enabled during the 2-second reveal and disabled while the progress overlay is visible.

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions Bot added the frontend PRs that change frontend files label May 20, 2026
@JPPhoto JPPhoto requested a review from joshistoast May 20, 2026 13:53
@JPPhoto JPPhoto force-pushed the progress-preview-gallery-selection branch from 8c4d37b to 198b69b Compare May 22, 2026 03:37
@lstein lstein added the 6.13.5 Library Updates label May 25, 2026
@lstein lstein moved this to 6.13.5 LIBRARY UPDATES in Invoke - Community Roadmap May 25, 2026
@JPPhoto JPPhoto force-pushed the progress-preview-gallery-selection branch from 198b69b to 766181e Compare May 26, 2026 22:56
@JPPhoto JPPhoto force-pushed the progress-preview-gallery-selection branch from 766181e to 989e932 Compare May 27, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.13.5 Library Updates frontend PRs that change frontend files

Projects

Status: 6.13.5 LIBRARY UPDATES

Development

Successfully merging this pull request may close these issues.

3 participants