1.3 - image resize - last used preset decrease resample values
Posted: Sun Oct 02, 2022 1:21 pm
XnView: MP 1.3.0 64bits (Sep 6 2022)
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%
Image Resize dialog resets its state to <Last Used> preset if Load 'Default values' checkbox is unticked (by default).
That cause:
Main issue of this bugreport
1) Resample width/height values decrease on each new file open iteration until it reaches 1 or 0 pixels.
Next 2 issues reported separately as they are not essential for this bugreport.
2) Resample width/height starts with hardcoded 800x800 pixels.
3) Print size values are not correct and do not change at all.
(test files and video attached in zip)
To reproduce:
1. run clean portable XnViewMP
2. place any 2 or more images in folder
3. open any of them
4. press SHIFT+S to open Image Resize dialog
4.1 if not 1st initial program run - set <Default> preset, it will be reset to <Last Used> and cause the same issue
5. press ESC to close Image Resize dialog
6. goto next (or previous) image via mouse scroll (or keyboard)
7. repeat steps 4-6 – on each iteration Resample width/height values decrease until it reaches 1 or 0.
Actual behaviour:
- Resample width/height values decrease until it reaches 1 or 0.
- Resample width/height values are not correct on the 1st run
- Print size values are not correct and do not change
Expected behaviour:
- Resample width/height values do not decrease when <Last Used> preset selected, just pasted as is.
- Resample width/height values shall be <Default> on the 1st run
- Print size values shall change accordingly
Suggestion:
1. Load 'Default values' checkbox shall be ticked by default.
2. If user manually untick it, only then program shall use values from previous resizing (maybe only successful resizing, when OK clicked).
Also program shall not modify values of previous resizing, just paste them as is.
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%
Image Resize dialog resets its state to <Last Used> preset if Load 'Default values' checkbox is unticked (by default).
That cause:
Main issue of this bugreport
1) Resample width/height values decrease on each new file open iteration until it reaches 1 or 0 pixels.
Next 2 issues reported separately as they are not essential for this bugreport.
2) Resample width/height starts with hardcoded 800x800 pixels.
3) Print size values are not correct and do not change at all.
(test files and video attached in zip)
To reproduce:
1. run clean portable XnViewMP
2. place any 2 or more images in folder
3. open any of them
4. press SHIFT+S to open Image Resize dialog
4.1 if not 1st initial program run - set <Default> preset, it will be reset to <Last Used> and cause the same issue
5. press ESC to close Image Resize dialog
6. goto next (or previous) image via mouse scroll (or keyboard)
7. repeat steps 4-6 – on each iteration Resample width/height values decrease until it reaches 1 or 0.
Actual behaviour:
- Resample width/height values decrease until it reaches 1 or 0.
- Resample width/height values are not correct on the 1st run
- Print size values are not correct and do not change
Expected behaviour:
- Resample width/height values do not decrease when <Last Used> preset selected, just pasted as is.
- Resample width/height values shall be <Default> on the 1st run
- Print size values shall change accordingly
Suggestion:
1. Load 'Default values' checkbox shall be ticked by default.
2. If user manually untick it, only then program shall use values from previous resizing (maybe only successful resizing, when OK clicked).
Also program shall not modify values of previous resizing, just paste them as is.