Page 1 of 1

1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Sat Oct 15, 2022 5:36 am
by user0
XnView: MP 1.3.0 - 1.3.1 64bits
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%

Print size values degrades when Resolution uom changes in Image/Canvas Resize dialogs

To reproduce:
1. run clean portable XnViewMP
2. open any image. Square 100x100.png in my case
3. press SHIFT+S to open Image Resize dialog
4. change Print size Resolution from existing uom (unit of measure) to another one
5. press OK
6. repeat steps 4-5 few times
you will end up with weird values

Actual behaviour:
Print size values degrade to 9999.99 (width/height) and 0.00 (resolution).

Expected behaviour:
Resolution uom should affect ONLY resolution value AND it should not degrade.

Similar issue (values degradation)
1.3 BUG - UI - image resize dialog - last used preset decrease resample values

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Sun Oct 23, 2022 3:28 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Wed Nov 23, 2022 6:19 pm
by user0
still experience this issue in 1.4.0 beta 1

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Sun Dec 04, 2022 12:52 pm
by xnview
i'm not able to reproduce this bug

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Sun Dec 04, 2022 3:37 pm
by user0
I have a video evidence )

However issue is only relevant to Image resize dialog.
Guess because "Load Default values" switched to px/in by default

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Mon Dec 05, 2022 8:24 am
by xnview
ok, i can only reproduce if 'Load default values' is checked. When you change unit of resolution, the value is not good.

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Mon Dec 05, 2022 8:33 am
by user0
yep, 'Load default values' is involved as it is always switching to 'pixel/inch' option on dialog open.

On the other hand, if I manually select <Default> preset each time after dialog is opened - there is no issue in both dialogs.

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Tue Dec 13, 2022 7:33 am
by xnview
This problem is supposed to be fixed in XnView MP 1.4.0. Please check and confirm the bug fix here.

Re: 1.3.1 BUG - image/canvas resize dialog - print size values degrade due to resolution uom change

Posted: Tue Dec 13, 2022 10:17 am
by user0
fixed in 1.4.0