1.3.0 - viewer - crop panel - selection width/height issues

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2409
Joined: Sat May 09, 2015 9:37 am

1.3.0 - viewer - crop panel - selection width/height issues

Post by user0 »

XnViewMP 1.3.0 64bit
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
test_image_100x100.png
test_image_100x100.png (130 Bytes) Viewed 1914 times
3. press SHIFT-X to open Crop panel
4. make selection with the following settings:

Issue A
a.png
a.png (2.01 KiB) Viewed 1914 times
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
b.png
b.png (2.42 KiB) Viewed 1914 times
5. press increase width button (blue)
it will increase width (red) AND decrease height of actual selection rectangular

Issue C
c.png
c.png (2.12 KiB) Viewed 1914 times
5. manually type values that are higher than real image size
nothing prevents user from typing such values

Issue D
d.png
d.png (2.48 KiB) Viewed 1914 times
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
Last edited by user0 on Sun Oct 27, 2024 12:25 pm, edited 10 times in total.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3 - BUG - crop panel - selection width/height issues

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3.0 - crop panel - selection width/height issues

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3.0 - crop panel - selection width/height issues

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Pierre.
User avatar
user0
XnThusiast
Posts: 2409
Joined: Sat May 09, 2015 9:37 am

Re: 1.3.0 - crop panel - selection width/height issues

Post by user0 »

1.5.0b1
A - fixed
B - still remain
C - partilly fixed (selection position - still possible to enter 99999, selection size - fixed). Guess its not a big deal and can be ignored
D - still remain
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3.0 - crop panel - selection width/height issues

Post by xnview »

user0 wrote: Sat Jun 17, 2023 8:56 am B - still remain
fixed in b2
D - still remain
how do you resize selection after enter 99999, the selection is no more visible??
Pierre.
User avatar
user0
XnThusiast
Posts: 2409
Joined: Sat May 09, 2015 9:37 am

Re: 1.3.0 - crop panel - selection width/height issues

Post by user0 »

150b2

B - fixed

D - fixed
xnview wrote: Tue Jun 20, 2023 1:10 pm
D - still remain
how do you resize selection after enter 99999, the selection is no more visible??
I start with existing selection, than enter 99999
selection turns into ~1x1, but its possible to resize/rotate it
however, app does NOT crash anymore

imho behaviour shall be the same as with Free ratio - once you enter oversize value, force change it to image max value
Post Reply