Skip to content

Conversation

@windymilla
Copy link
Collaborator

These are equivalents of the Prev/Next arrow buttons in the Image Viewer.

The current code relies on the mouse leaving the image viewer window to know when to revert the image view to the current page in the case of AutoImg being on. Now that Prev/Next Image can be run from the Command
Palette or by keyboard shortcut, a method is needed to revert the image viewer to showing the "auto image", i.e. "unpause" AutoImg. Simply clicking AutoImg (or using View-->See Image) will do this. You can of course
Shift-click AutoImg twice to turn it off and on again. Alternatively moving the mouse into the image viewer (or out of the viewer) will do the same.
If the orange border highlight is turned on in the settings dialog, this will be shown when the mouse is moved in or out to unpause AutoImg, but won't be shown if the user explicitly clicks the AutoImg button or uses the View Menu to unpause AutoImg.

Fixes #1649

These are equivalents of the Prev/Next arrow buttons in the
Image Viewer.

The current code relies on the mouse leaving the image
viewer window to know when to revert the image view to
the current page in the case of AutoImg being on. Now
that Prev/Next Image can be run from the Command
Palette or by keyboard shortcut, a method is needed to
revert the image viewer to showing the "auto image", i.e.
"unpause" AutoImg. Simply clicking AutoImg (or using
View-->See Image) will do this. You can of course
Shift-click AutoImg twice to turn it off and on again.
Alternatively moving the mouse into the image viewer
(or out of the viewer) will do the same.
If the orange border highlight is turned on in the settings
dialog, this will be shown when the mouse is moved in or
out to unpause AutoImg, but won't be shown if the user
explicitly clicks the AutoImg button or uses the View Menu
to unpause AutoImg.

Fixes DistributedProofreaders#1649
@windymilla windymilla requested a review from srjfoo January 1, 2026 21:12
@windymilla
Copy link
Collaborator Author

Testing notes:
General testing of AutoImg and See Img, the prev/next buttons in the image viewer, the command palette to run those same commands, and keyboard shortcuts to run them. All of those combined with moving the mouse in/out of the image viewer,
clicking to a different location in the text, "unpausing" AutoImage via the methods described above.

@windymilla windymilla merged commit ff57753 into DistributedProofreaders:master Jan 3, 2026
1 check passed
@windymilla windymilla deleted the image-viewer-orphans branch January 3, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add next/prev image as orphan commands to MainImage

2 participants