easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.35k stars 168 forks source link

Using `toggleFitMode` makes the image disappear #454

Open tomasklaen opened 1 year ago

tomasklaen commented 1 year ago

Sometimes when I press a key that has toggleFitMode bound to it, the image doesn't scale to 100%, but instead just completely disappears and I only see the window background.

From my quick tests, it seems to only happen on portrait images (height > width).

This is on qimgv-x64_v1.0.3-alpha-75-gd24f3fa9, and wasn't an issue on 1.0.2.

Example image with this issue: 0euefe8sk6881