d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.87k stars 501 forks source link

When Gallery is placed on the right and hidden it still displays 2 pixels which get in the way of clicking to next image #2008

Open AmeJunn opened 2 months ago

AmeJunn commented 2 months ago

System information

To Reproduce

Steps to reproduce the behavior:

  1. Place Gallery layout on the right (->)
  2. Hide Gallery panel
  3. Place mouse to the very edge of the right side of the screen
  4. Clicking doesn't go to the next image and doesn't display the next arrow, and there's a little edge about 2 pixels thick visible

Actual behavior

Whenever the Gallery is placed on the right, and is hidden, and you place the mouse right up against the right edge of the screen to go to the next image this bug gets in the way and doesn't let you go to the next image. So you have to move the mouse back a little or change the position of the the Gallery. It does not happen if the gallery is placed elsewhere.

Expected behavior

There is no Gallery "overflowing" onto the image despite being hidden, blocking your clicks to go to the next image. If the gallery is placed on the left this doesn't happen, and you can click to the previous image without issues.

Screenshots / Video / Sample image file

! (open the images against a dark background to see) !

visible edge of gallery On the right it's possible to see the Gallery border "overflowing"

Gallery placed on the left Here I placed the gallery on the left and that "overflow" is no longer visible

Additional context

I recently updated from version 8 and it didn't use to happen back in that version. I also downloaded a portable version and kept it clean and then re-added all my configs and it was all fine.... until I placed the Gallery on the right. So it's not my configs.

AmeJunn commented 1 month ago

Update: I think that's actually the background showing and not the gallery. Still only happens when the gallery is placed on the right and hidden. Still prevents clicking to go to the next image.