[feat] - canvas resize - missing checkbox Load 'Default values'
Posted: Sun Oct 02, 2022 8:34 am
XnView: MP 1.3.0 64bits (Sep 6 2022)
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%
Canvas Resize dialog has inconsistency between xnview.ini and UI.
Load 'Default values' parameter exists in xnview.ini but UI has no checkbox (eg same as in Image Resize dialog).
Not sure if this functionality is in use for Canvas Resize dialog, but for the sake of consistancy I made this bugreport
Effect:
Existing functionality in not utilized.
To reproduce:
1. download XnViewMP archive, extract and run program
make sure there are no settings from previous versions, eg delete path:
C:\Users\<USER_NAME>\AppData\Roaming\XnViewMP
2. open image
3. press SHIFT+S to open Resize dialog, close it
4. press SHIFT+C to open Canvas Resize dialog, close it
5. check xnview.ini in program folder
It will have 2 settings for Image/Canvas Resize dialogs, both with loadDefaults=false lines.
So, I guess UI shall be similar for both dialogs in that matter.
Actual behaviour:
Not possible to modify Load 'Default values' settings via UI for Canvas Resize Dialog.
Expected behaviour:
Expect Load 'Default values' checkbox in Canvas Resize Dialog (eg similar to Image Resize dialog).
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%
Canvas Resize dialog has inconsistency between xnview.ini and UI.
Load 'Default values' parameter exists in xnview.ini but UI has no checkbox (eg same as in Image Resize dialog).
Not sure if this functionality is in use for Canvas Resize dialog, but for the sake of consistancy I made this bugreport

Effect:
Existing functionality in not utilized.
To reproduce:
1. download XnViewMP archive, extract and run program
make sure there are no settings from previous versions, eg delete path:
C:\Users\<USER_NAME>\AppData\Roaming\XnViewMP
2. open image
3. press SHIFT+S to open Resize dialog, close it
4. press SHIFT+C to open Canvas Resize dialog, close it
5. check xnview.ini in program folder
It will have 2 settings for Image/Canvas Resize dialogs, both with loadDefaults=false lines.
So, I guess UI shall be similar for both dialogs in that matter.
Code: Select all
[ResizeDlg]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x5\x34\0\0\x2'\0\0\x6,\0\0\x4\x96\0\0\x5\x35\0\0\x2\x45\0\0\x6+\0\0\x4\x95\0\0\0\0\0\0\0\0\n\0\0\0\x5\x35\0\0\x2\x45\0\0\x6+\0\0\x4\x95)"
presets=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x16\0<\0L\0\x61\0s\0t\0 \0U\0s\0\x65\0\x64\0>\0\0\0\f\0\0\0<\0\0\0\x3\0\0\0\0\0\0\x3 \0\0\x3\xe4\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0<\0\0\0\a)
loadDefaults=false
[CanvasDlg]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x5\x34\0\0\x2'\0\0\x6,\0\0\x4\x96\0\0\x5\x35\0\0\x2\x45\0\0\x6+\0\0\x4\x95\0\0\0\0\0\0\0\0\n\0\0\0\x5\x35\0\0\x2\x45\0\0\x6+\0\0\x4\x95)"
presets=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x16\0<\0L\0\x61\0s\0t\0 \0U\0s\0\x65\0\x64\0>\0\0\0\f\0\0\0@\0\0\0\x3\0\0\0\0\0\0\x2\xf0\0\0\x3\xa8\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@b\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x4\x1\xff\xff\0\0\0\0\0\0\0\0)
loadDefaults=false
Actual behaviour:
Not possible to modify Load 'Default values' settings via UI for Canvas Resize Dialog.
Expected behaviour:
Expect Load 'Default values' checkbox in Canvas Resize Dialog (eg similar to Image Resize dialog).