The "keep ratio" is not saved after a resize

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

The "keep ratio" is not saved after a resize

Post by mulanee »

Hi,

For whatever reason, when I want to resize, the "keep ratio" is always unticked, even if I tick it before leaving.
How to save this configuration?
Emmanuel
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

with Classic?
Pierre.
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

xnview wrote: Sun Jul 04, 2021 11:03 amwith Classic?
Yes
Emmanuel
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

you open a file, open resize dialog, uncheck 'keep ratio', ok, re-open dialog and the setting is not unchecked?
Pierre.
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

xnview wrote: Mon Jul 05, 2021 5:48 am you open a file, open resize dialog, uncheck 'keep ratio', ok, re-open dialog and the setting is not unchecked?
More or less

When I do like this the setting remains checked.

When I do like this and afterward close xnview, when I reopen xnview and try to resize, again the option is unchecked.
I want to keep this option alive everytime.
Emmanuel
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

i've tried and 'keep ratio' is restored at next session.
Pierre.
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

No it doesn't work
Emmanuel
cday
XnThusiast
Posts: 4187
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: The "keep ratio" is not saved after a resize

Post by cday »

mulanee wrote: Sat Jul 03, 2021 12:19 pm For whatever reason, when I want to resize, the "keep ratio" is always unticked, even if I tick it before leaving.
How to save this configuration?
xnview wrote: Tue Jul 06, 2021 10:55 am i've tried and 'keep ratio' is restored at next session.
mulanee wrote: Tue Jul 06, 2021 2:18 pm No it doesn't work
I've had a quick look at XnView Classic 2.50, and although I am not used to 'Classic' as I use XnView MP now, it does seem to retain the last 'Keep ratio' setting.

However, lack of persistence of settings in XnView MP is a know issue, including for 'Keep ratio' which I use frequently...

Are you sure that you are actually using XnView Classic (latest version 2.50), and not XnView MP (latest version 0.98.4)?
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

cday wrote: Tue Jul 06, 2021 2:49 pm
mulanee wrote: Sat Jul 03, 2021 12:19 pm For whatever reason, when I want to resize, the "keep ratio" is always unticked, even if I tick it before leaving.
How to save this configuration?
xnview wrote: Tue Jul 06, 2021 10:55 am i've tried and 'keep ratio' is restored at next session.
mulanee wrote: Tue Jul 06, 2021 2:18 pm No it doesn't work
I've had a quick look at XnView Classic 2.50, and although I am not used to 'Classic' as I use XnView MP now, it does seem to retain the last 'Keep ratio' setting.

However, lack of persistence of settings in XnView MP is a know issue, including for 'Keep ratio' which I use frequently...

Are you sure that you are actually using XnView Classic (latest version 2.50), and not XnView MP (latest version 0.98.4)?
I confirm I use the classic 2.50 version, after several tests with the MP I gave up because too much complicated and not friendly
Honestly I remember the parameters were saved in the past and suddenly not.
I suspect a kind of parameter way of saving (.ini or each user directory or program directory)
Emmanuel
cday
XnThusiast
Posts: 4187
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: The "keep ratio" is not saved after a resize

Post by cday »

My test in XnView Classic yesterday was brief, and I have since realised that my problem with XnView MP 'Resize' mainly concerns a lack of persistence of the 'Pixels|Percent' setting rather than 'Keep ratio'. Looking at XnView Classic again now I found operation of 'Resize' confusing, so I think my comments yesterday should be disregarded.

@mulanee: To make progress I think you need to provide 'Steps to reproduce' what you are seeing...
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

mulanee wrote: Tue Jul 06, 2021 3:47 pm I confirm I use the classic 2.50 version, after several tests with the MP I gave up because too much complicated and not friendly
much complicated & not friendly???? I don't udnerstand, it's almost the same interface
Honestly I remember the parameters were saved in the past and suddenly not.
I suspect a kind of parameter way of saving (.ini or each user directory or program directory)
could you send me your .ini?
Pierre.
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

Much complicated: cannot Copy the opened image without doing a manipulation on MP (submenu)
On classic, just Ctrl+C

...For example...
Emmanuel
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

mulanee wrote: Wed Jul 07, 2021 8:46 am Much complicated: cannot Copy the opened image without doing a manipulation on MP (submenu)
On classic, just Ctrl+C
you can do that on MP too
Pierre.
User avatar
mulanee
Posts: 30
Joined: Tue Sep 16, 2008 8:46 am
Location: Ile de France

Re: The "keep ratio" is not saved after a resize

Post by mulanee »

xnview wrote: Wed Jul 07, 2021 8:41 am
Honestly I remember the parameters were saved in the past and suddenly not.
I suspect a kind of parameter way of saving (.ini or each user directory or program directory)
could you send me your .ini?
My .ini:
https://pastebin.com/WuJdYa8T
Emmanuel
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: The "keep ratio" is not saved after a resize

Post by xnview »

it works here, are you use that you have rights to write xnview.ini?
Pierre.