Page 1 of 1
Keep "lock zoom" enabled even after exit?
Posted: Fri Jan 23, 2009 8:38 pm
by ghost zero
How about keep "lock zoom" enabled even after exit?
Might be so
Posted: Fri Jan 23, 2009 9:34 pm
by Clo
ghost zero

Hello !
• It must be so, according to the INI entry :
The Manual wrote
Since 1.92.1…
[View]
LockZoomFlag=
Flag

0 : The zoom locking is kept through the sessions (standard behaviour).

1 : The zoom locking is kept during the current session only (like in the old 1.8… versions)
- So, please check which flag is set in your INI…

VG
Claude
Clo
Posted: Sat Jan 24, 2009 3:35 pm
by ghost zero
using 1.95.4
in my ini, i only see LockZoom= , no LockZoomFlag ... are they the same thing?
Two entries
Posted: Sat Jan 24, 2009 6:43 pm
by Clo
ghost zero

Hello !
• They are two different entries, it seems, I've both here :
LockZoom=0
LockZoomFlag=1
-
LockZoom=… shows the current status of that command,
while
LockZoomFlag=… defines it's behaviour through the sessions…
- So, add it by hand, according to your needs as explained above.

KR
Claude
Clo
Posted: Sun Jan 25, 2009 10:57 am
by helmut
A good sample for bad and misleading option names.
@Pierre:
Options without GUI are o.k., but it's very important that the naming for these options is meaningful and clear. Please consider this when naming new options.
Posted: Sun Jan 25, 2009 1:34 pm
by obelisk
I don't think it keeps after exit now right?
Tho I prefer it that way.
Posted: Mon Jan 26, 2009 6:09 am
by ghost zero
i just tried LockZoomFlag=0 and LockZoomFlag=1 and neither does anything. any ideas?
Posted: Mon Jan 26, 2009 2:30 pm
by ckv
ghost zero wrote:i just tried LockZoomFlag=0 and LockZoomFlag=1 and neither does anything. any ideas?
Did you add LockZoomFlag in the right section? Also if you are using registry to save settings, you should add the LockZoomFlag in the registry, not in the xnview.ini.
Posted: Mon Jan 26, 2009 10:23 pm
by ghost zero
im saving settings in .ini and i added the LockZoomFlag= in the same section as the existing LockZoom=
any ideas?
Read the…famous…Manual
Posted: Tue Jan 27, 2009 3:46 am
by Clo
ghost zero

Hello !
• I tested with :
LockZoomFlag=0, it doesn't work, the locking is not kept at next start.
- Hence, it's broken in 1.96 ß-2
and ß-3
• Anyway, it's always good to read the header of
THIS PARAGRAPH to handle the INI changes correctly…

KR
Claude
Clo
Posted: Tue Jan 27, 2009 8:49 pm
by ghost zero
so its a bug that needs to be fixed right?
More complicated
Posted: Tue Jan 27, 2009 9:14 pm
by Clo
ghost zero

Hello !
so its a bug that needs to be fixed right?
• Certainly, I tested again with ß-3 and
LockZoomFlag=0: After a second restart, I got a locked zoom, but
reverse !
- I mean for instance if closed with 150%, reopen displays at 75%…
• I ought test further to define this faulty behaviour precisely (if possible).

KR
Claude
Clo
Re: More complicated
Posted: Tue Feb 03, 2009 9:28 am
by xnview
Sorry i don't understand the problem.
If you add LockZoomFlag=1, the lock zoom flag is not kept.
Else 'Lock Zoom' will be locked or not following previous session...
Posted: Tue Feb 03, 2009 7:45 pm
by helmut
I have to correct myself:
A good sample for bad and misleading option names
and option values.
(Will not help but I couldn't resist.)

Posted: Thu Feb 12, 2009 2:29 pm
by ghost zero
if this option doesn't exist, can it be added? so that lock zoom remains checked even after exit?