[feat] - canvas resize - missing checkbox Load 'Default values'

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

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

[feat] - canvas resize - missing checkbox Load 'Default values'

Post by user0 »

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 :D

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
resize_canvas_load_default_value.png

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).
Last edited by user0 on Tue Dec 27, 2022 1:53 pm, edited 3 times in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3 BUG - UI - canvas resize dialog - missing checkbox Load 'Default values'

Post by xnview »

setting is not used in canvas resize
Pierre.
Post Reply