Opened 16 hours ago
Last modified 16 hours ago
#19321 new bug
[ShowImage] Pressing the right arrow on the keyboard works, but the on-screen button is disabled
Reported by: | Hanicef | Owned by: | leavengood |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | Applications/ShowImage | Version: | R1/beta5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is best described with a step-by-step instruction:
- Create a directory with two images, and open the first one with ShowImage.
- Use the arrows on top of the window to go to the last image.
Once you're at the last image, the right arrow button to go to the next is disabled. However, pressing the right arrow key on the keyboard still allows you to go one step further, wrapping your around to the first image. This inconsistency is weird to me, especially since it doesn't work the other way, that is, you can't press the left arrow key on the first image to wrap back, nor does the on-screen button allow it.
This discrepancy can be fixed in two ways:
- All buttons and keys are always enabled, and always wrap around when there is no more images it their respective direction.
- The right arrow key is changed to disallow wrapping on the last image.
The former is what I would prefer, but I can imagine the latter being easier to implement.
Let's do the latter for now. Pressing the right mouse button should trigger the exact same logic as the button.