Page 1 of 2
1.5.0 - viewer - High zoom quality - None still affects image
Posted: Tue Jun 20, 2023 6:52 pm
by user0
XnViewMP 1.5.0b2 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Viewer - zoom - High zoom quality
"None" still affects image
To reproduce:
1. run clean portable XnViewMP
2. open any image
- zoom-in OR zoom-out
3. goto Settings>View>View tab
- make sure 'High zoom quality' is None for -in and -out
- press OK
4. check 'High zoom quality' item in Viewer (View menu)
issue A
image will be smoothed
Expected behaviour:
no anti-aliasing filter shall be applied as they both are set ot None in Settings
issue B
5. press F12 to open Settings
6. press ESC to close Settings
smoothing will be disabled
'High zoom quality' item in Viewer (View menu) will be unchecked
Expected behaviour:
closing Settings should not change 'High zoom quality' state
Related
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Wed Jun 21, 2023 6:31 am
by xnview
Is it a new issue of 1.5.0 beta?
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Wed Jun 21, 2023 6:37 am
by user0
same issue in 1.4.5
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Thu Jun 22, 2023 1:45 pm
by xnview
'High zoom quality' enable smooth scaling for current tab
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Thu Jun 22, 2023 2:11 pm
by user0
yeah, I got that )
but why if there is None for Zoom-in/out in Settings?
it either:
- should not smooth at all OR
- some default method shall be selected in Settings (which one is used in this case?)
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Fri Jun 23, 2023 11:45 am
by xnview
it must not change Settings because it's temporary. Once the tab closed, settings will be used
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Thu Nov 02, 2023 6:52 am
by user0
so, there are 2 sets of settings for smoothing/antialiasing:
- permanent
- settings listed in Settings > View > View
- applied by default
- can be overcome by temp smoothing if:
-- set to None
-- 'High zoom quality' in Viewer > View menu switched ON (or OFF and ON if only one mode is set to None in Settings)
- temporary
- settings not listed anywhere, guess its Bilinear for both modes (in/out)
- by default it is overcome by permanent settings
- activates only when you click on 'High zoom quality' menu item (checkbox) once or twise (see above) in Viewer > View menu
I think this is overengineering (prone to bugs, see
issue B in updated OP) with extremely unintuitive behavior.
Suggestion
my advice was to:
- make temp settings explicit and
- explicitly name these 2 sets, something like Temp/Quick/Default and Main/Permanent
eg like this:

- settings_high_zoom_quality_modes.png (5.93 KiB) Viewed 2283 times
However, the proper approach would be to simplify this feature:
- get rid of hidden temp settings at all and
- use 'High zoom quality' in Viewer only as a switch for permanent settings:
- if ON - check settings of in/out modes:
- if None - apply nothing
- if not None - apply choosen filter
- if OFF - no filter applied
- 'High zoom quality' ON/OFF state shall be applied to all tabs and be persistent (eg like Lock zoom)
if user wants to change some filter he goes to settings and change filter manually, simple as that
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Thu Nov 02, 2023 11:49 am
by xmozg
Different implementations of functions are convenient for different people, and for some it will definitely be more convenient for the temporary version of “high quality zoom” in viewer, rather than for it to work as a permanent one.
You mentioned "persistent zoom lock"
'High zoom quality' ON/OFF state shall be applied to all tabs and be persistent (eg like Lock zoom)
The fact is that it is "persistent" only by default.
viewtopic.php?f=62&t=46002&p=191209#p191209
You can enable it in temporary mode via xnview.ini. And it’s the temporary Lock zoom mode that I use, because it’s more convenient for me. In the same way, it may be more convenient for someone to use the temporary High zoom quality mode. And I don't think that a significant number of users will need quick access from the Viewer menu to change this permanent setting. Permanent settings are not something that changes frequently.
What I noticed: For permanent zoom-out setting, if set to "none" or "billinear", the temporary high quality zoom setting switches between "none" and "billinear". It is ok. But for permanent zoom-out bicubic-lanczos4 settings, the temporary high quality zoom "none" setting no longer works (at all).
It is bug. Whereas for any zoom-in permanent settings, temporary high quality zoom works fine.
So, my final recommendation: fix the above bug and.... that's it)
Created a separate topic for the bug just in case.
viewtopic.php?f=62&t=46370
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Thu Nov 02, 2023 5:57 pm
by user0
xmozg wrote: Thu Nov 02, 2023 11:49 am
Different implementations of functions are convenient for different people, and for some it will definitely be more convenient for the temporary version of “high quality zoom” in viewer, rather than for it to work as a permanent one.
It is convenient when done right, this is not a case here since 2 sets of filters linked to the same checkbox (issue A).
I also can't think of a way to justify the existence of a temp set of filters.
xmozg wrote: Thu Nov 02, 2023 11:49 am
You mentioned "persistent zoom lock"
'High zoom quality' ON/OFF state shall be applied to all tabs and be persistent (eg like Lock zoom)
The fact is that it is "persistent" only by default.
viewtopic.php?f=62&t=46002&p=191209#p191209
You can enable it in temporary mode via xnview.ini. And it’s the temporary Lock zoom mode that I use, because it’s more convenient for me. In the same way, it may be more convenient for someone to use the temporary High zoom quality mode.
I'm not against temp/permanent state of this feature. It just shall be done differently, eg once there is only one set of filters:
- add checkbox in Settings (in front of feature name) to control persistent state,
- existing checkbox in View menu inherits persistent state on tab open, but only valid until tab is closed.
Approach shall be like this - if same setting exists in both places (Settings and tabs) and has state - Settings shall be persistent, tab - session only.
xmozg wrote: Thu Nov 02, 2023 11:49 am
And I don't think that a significant number of users will need quick access from the Viewer menu to change this permanent setting. Permanent settings are not something that changes frequently.
I never said there shall be any "quick access from the Viewer menu to change this permanent setting".
Viewer menu stays visually unchanged, same single checkbox 'High zoom quality'.
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Sat Nov 04, 2023 2:22 pm
by xnview
ok, i understand the problem now. So you would like that 'View>High zoom quality' change 'Settings>View>High quality'??
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Sat Nov 04, 2023 8:38 pm
by user0
xnview wrote: Sat Nov 04, 2023 2:22 pm
So you would like that 'View>High zoom quality' change 'Settings>View>High quality'??
checkbox in Viewer only switches ON/OFF this feature, not change zoom in/out settings in Settings
2 mockups:

- high_zoom_quality.png (8.8 KiB) Viewed 2182 times
- General, in both mockups:
- single set of zoom in/out settings
- zoom in/out settings changes only manually
- Mockup C - simple
- ON/OFF state - exists only in Viewer
- persistent
- changes only manually
- Mockup D - with temp state
- only checkbox added in Settings
- ON/OFF state - 2 states
- checkbox in Settings - persistent, changes only manually
- checkbox in Viewer - temporary, inherits from Settings, exists until tab is closed
Case
- both zoom in/out set to None in Settings
- current behaviour
Viewer checkbox unchecks automatically
if user switch it ON - hidden set of zoom in/out settings will be applied
- expected behaviour
Viewer checkbox should not be affected by zoom in/out settings. State manages as per Mockup C/D.
If user switch it ON - no smoothing shall be applied (as zoom in/out set to None in Settings)
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Sun Nov 05, 2023 7:54 am
by xnview
why adding another setting??
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Sun Nov 05, 2023 9:18 am
by user0
C - is optimal for me
D - just to show what can be achieved theoretically
Re: 1.5.0 - viewer - None 'High zoom quality' still affects image
Posted: Sun Nov 05, 2023 1:54 pm
by xnview
sorry but i don't understand. When opened a tab, 'Settings>View>High quality' will always used, so no need to add a new setting...
Re: 1.5.0 - viewer - High zoom quality - None still affects image
Posted: Sun Nov 05, 2023 4:57 pm
by user0
let's stick to mockup C, where no additional setting is required
C
sequence is like following:
1. tab is opened
2. if 'High zoom quality' (in Viewer>View) is:
- ☑
smoothing applied as per 'Settings>View>High zoom quality'
if any zoom (in AND/OR out) is set to None, corresponding smoothing should not be applied <--- this is my desired behavior from issue A
ps. also state of 'Viewer>View>High quality' checkbox should be memorized when closing the application