derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.53k stars 159 forks source link

Screen rotation in fullscreen mode causes pictures to be drawn in tile pattern #749

Open finnteegen opened 7 months ago

finnteegen commented 7 months ago

When you start feh in fullscreen mode and perform a screen rotation while running a slideshow, pictures are drawn in a tile pattern. I think this is due to the pixmap not being adjusted properly. As a quickfix (see finnteegen/feh@74141ec32ec0a8486fcfefd58f2a1db266dd0f8e), I set the pixmap's dimensions in fullscreen mode to the maximum of the screen's width and height. While this does fix the issue, I am not sure if this is the best way to do so.