[0.92] Resize presets are not saved / restored properly (Linux)

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
pangwolin
Posts: 60
Joined: Sun Sep 25, 2016 7:53 pm

[0.92] Resize presets are not saved / restored properly (Linux)

Post by pangwolin »

Since 0.92(?), presets saved through the "Resize" dialog box are not restored properly.

Steps to reproduce:

1. Open "Resize image" dialog
2. Set any value for parameters
3. Click save preset and enter a name
4. The preset is either saved with the wrong values (none?) or restored with the wrong values.

Not sure if this is Linux specific. Can anyone reproduce and confirm?

Interestingly, the "Last used" preset also doesn't load the actual last used values, and instead gives bad values.

Settings values to be saved as preset
Image

Entering a name for our preset as an example:
Image

The preset is not saving the right values:
Image

Note: I could not find out where those values are stored on disk, not even through strace.
User avatar
pangwolin
Posts: 60
Joined: Sun Sep 25, 2016 7:53 pm

Re: [0.92] Resize presets are not saved / restored properly (Linux)

Post by pangwolin »

Also, it would be really nice to be able to remove the pre-defined presets completely.
It's really annoying to have to browse through all of them to get to my own every time when I know I would NEVER use any of the default ones.
Even pressing keyboard keys to get to them is annoying, especially with the new ones which also start with numbers. For example, if I want to get to 25% fast, now I have to press 25 twice because I get 2560x1600 first.
Also how many times have I accidentally selected resize to 500% instead of 50%. Quite irritating.


EDIT: for those wondering, there is a way to remove the default resize presets by editing the file "ResizePresets.txt"!
Last edited by pangwolin on Thu Jan 31, 2019 7:42 pm, edited 4 times in total.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.92] Resize presets are not saved / restored properly (Linux)

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.92] Resize presets are not saved / restored properly (Linux)

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.93. Please check and confirm the bug fix here.
Pierre.
User avatar
pangwolin
Posts: 60
Joined: Sun Sep 25, 2016 7:53 pm

Re: [0.92] Resize presets are not saved / restored properly (Linux)

Post by pangwolin »

Thank you, I can confirm the bug is fixed in 0.93.
Post Reply