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

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

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

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

Post 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
Attachments
print_size_resolution_uom.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

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

Post by user0 »

still experience this issue in 1.4.0 beta 1
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

i'm not able to reproduce this bug
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

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

Post 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
Attachments
image resize - print size values degrade due to resolution uom change.zip
(1.61 MiB) Downloaded 57 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

ok, i can only reproduce if 'Load default values' is checked. When you change unit of resolution, the value is not good.
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

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

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

Post by user0 »

fixed in 1.4.0
Post Reply