Windows10 64bit (21H1), display resolution 3840x2160, win scaling 150%
Crop panel
Few issues with the way selection width/height works.
To reproduce:
1. run clean portable XnViewMP
2. open test image 3. press SHIFT-X to open Crop panel
4. make selection with the following settings:
Issue A 5. press increase width (OR height) button (blue)
it will decrease height (red). Happens when selection rectangular bears against image side (right in this case).
Issue B 5. press increase width button (blue)
it will increase width (red) AND decrease height of actual selection rectangular
Issue C 5. manually type values that are higher than real image size
nothing prevents user from typing such values
Issue D 5. manually type values that are higher than real image size
6. manually resize selection rectangle
program will crash
Expected behaviour:
a),b) it should not be allowed to increase width/height values (via buttons) that are higher than the image size.
c),d) it should not be allowed to manually enter/paste values that are higher than the image size.
Related
- issues
1.3.0 - viewer - crop panel - disabled 'show more' button
- todo -
1.6.1 - viewer - crop panel - selection rotation issues
1.6.1 - viewer - crop panel - few size issues
1.4.3 - viewer - crop panel - selection autorotation and clipboard hotkeys
1.3.0 - viewer - crop panel - selection ratio shortcut
- fixed -
1.8.0 - viewer - autocrop - few issues (1.8.2)
1.4.5 - viewer - crop panel - selection size indicator floats around (1.5.0)
1.3.0 - viewer - crop panel - selection width/height issues (1.5.0) current post