poppeman / Pictus

A simple image viewer and thumbnail shell extension
MIT License
100 stars 14 forks source link

Errors + exit upon rotating following pan #65

Closed Fironet closed 8 years ago

Fironet commented 8 years ago

So this one's quite particular.

Steps to reproduce:

  1. Using Pictus 1.6.0 open the test image 1 (below, or any image that is larger than the monitor resolution).
  2. Zoom to 100% scale and pan the image to the bottom-left corner (I used the mouse fwiw).
  3. Right-click the image and select Orientation>'Rotate 90 degrees' or '270 degrees and flip'.

Result:

The following error message will appear and Pictus will exit. This only occurs with 'Rotate 90 degrees' and '270 degrees and flip', the other orientations aren't affected.

pictus error message dialog - 1

A second, different error will appear if performing the same steps but with an image that doesn't fill the monitor width, only height (for me this occurred with Test image 2 on a 1440p monitor).

pictus error message dialog - 2

Test image 1

Test image 2

poppeman commented 8 years ago

It seems that I've already fixed the root cause of that bug in the development version, so rotations should be less broken in the next release.