Page 1 of 2
disconnect zoom-fullscreen from zoom-browser
Posted: Fri Dec 02, 2022 10:34 am
by risky7
Hi,
First, thanks for great software.
At the moment, I'm using XnViewMP 1.3.1 on Xubuntu 22.04.
1. In XnViewMP I set "Settings / Interface / Switching mode / Use ENTER to switch between" = "Browser <> Fullscreen | Viewer <> Fullscreen". Problem is that I really can't get properly working relation fit-window-image along with zoom. Behaviour I would like is:
- Fullscreen = "Fit image to window, large only"
- this works
- Viewer = "100% zoom"
- image is unzoomed at 100% zoom but there is no such option in XnViewMP
I've tried to achieve this with various options but it doesn't work.
- "Lock zoom" locks zoom but if I change zoom and go to next picture than this modified zoom is applied to next picture while I need next picture to be opened with 100% zoom. So, "Lock zoom" works correctly and it is not solution to what I need.
- "Setings / View = No fit" is not intended to do what I need.
What I see as solution is:
- BUG?: complete decoupling of zoom in fullscreen and viewer
- present situation is that when I switch from fullscreen to viewer than zoom from fullscreen is applied to viewer which is not correct behaviour, they should be completely independent
- add option "100% zoom" to "Setings / View"
- this would be "Lock Zoom" but unchangeable by zoom modifications on previous picture so the next picture is ALWAYS opened with 100% zoom
- if other users need other zoom-levels than input-box could be added to choose zoom-level, I don't need that because I need only 100%
2. I would like that if image is smaller than screen than window should shrink to image-size, something like "Fit window to image". From various forum-topics it seems that this is not possible?
3. I'm using AppImage. On Xubuntu it seems that some so's are missing (xcb-platform...) so I've collected those so's to one folder and made small sh-script to start XnViewMP so that AppImage is really "portable". Could you include those so's into AppImage so that it becomes really AppImage without external interventions?
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Sun Dec 04, 2022 1:11 pm
by xnview
risky7 wrote: Fri Dec 02, 2022 10:34 am
1. In XnViewMP I set "Settings / Interface / Switching mode / Use ENTER to switch between" = "Browser <> Fullscreen | Viewer <> Fullscreen". Problem is that I really can't get properly working relation fit-window-image along with zoom. Behaviour I would like is:
[/url]
Could you post some screenshots to show the problem?
2. I would like that if image is smaller than screen than window should shrink to image-size, something like "Fit window to image". From various forum-topics it seems that this is not possible?
Currently 'Fit window...' is not stable...
3. I'm using AppImage. On Xubuntu it seems that some so's are missing (xcb-platform...) so I've collected those so's to one folder and made small sh-script to start XnViewMP so that AppImage is really "portable". Could you include those so's into AppImage so that it becomes really AppImage without external interventions?
which so's are missing?
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Dec 12, 2022 12:10 pm
by risky7
1.
- take image that is larger than screen (larger resolution)
- open it in viewer and zoom-indicator should show 100% (works correctly)
- switch to fullscreen
- switch to viewer and zoom-indicator will show value different from 100% which is not correct since fullscreen has changed zoom-value for viewer
With settings I described in first message, switching between viewer and fullscreen should not change zoom in viewer. Or am I wrong?
2. Missing so's are libxcb-image.so.0, libxcb-render-util.so.0, libxcb-xinerama.so.0, libxkbcommon-x11.so.0, libxcb-keysyms.so.1, libxcb-xkb.so.1, libxcb-icccm.so.4.
In appimage folder I put these so's into folder lib2 and run sh-script:
#!/bin/sh
dirname=`readlink -e "$0"`
dirname=`dirname "$dirname"`
export LD_LIBRARY_PATH="$dirname/lib2:$LD_LIBRARY_PATH"
exec "$dirname/XnView.AppImage" "$@"
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Tue Dec 13, 2022 10:04 am
by xnview
so you would to use "Fit image to window, large only" in fullscreen, and 100% in normal view?
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Wed Dec 14, 2022 8:18 am
by risky7
Yes, that is behaviour I would like to achieve.
But, I think that disconnecting zoom in fullscreen from zoom in viewer would be right approach, this problem has effect on various settings in xnviewmp and makes them nonfuctional?
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Fri Dec 16, 2022 9:33 am
by xnview
risky7 wrote: Wed Dec 14, 2022 8:18 am
Yes, that is behaviour I would like to achieve.
But, I think that disconnecting zoom in fullscreen from zoom in viewer would be right approach, this problem has effect on various settings in xnviewmp and makes them nonfuctional?
Ok, so when you are with 'Not Fit' in Settings>View, zoom value must be kept when going back from fullscreen...
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Sat Dec 17, 2022 4:58 pm
by risky7
It seems that I understand where is the problem.
I'm using "Setings / View = No fit" and "View / Lock zoom" at 100% and Fullscreen = "Fit image to window, large only", since this seemed like combination that should work. With this settings I have situation I've described in one of previous messages:
- take image that is larger than screen (larger resolution)
- open it in viewer and zoom-indicator should show 100% (works correctly)
- switch in viewer to other images of different sizes doesn't change zoom (works correctly)
- switch to fullscreen with image larger than screen
- switch to viewer and zoom-indicator will show value different from 100% which is not correct since fullscreen has changed zoom-value for viewer
"Lock zoom" behaviour when switching viewer-fullscreen-viewer is suspicious? When switching viewer->fullscreen->viewer with image larger than screen then fullscreen changes zoom to fit image and this new zoom is adopted by "lock zoom" which applies it to viewer when switched back to viewer.
"No fit" option works correctly and doesn't change anything when switching between images and when switching between viewer and fullscreen, and also because of "No fit" setting "Tools / Settings / View / Reset "Auto image size" setting with next/previous file" has no effect in this situation. I'm using XnViewMP 1.3.1 (if that is relevant).
So, it is not possible to have unchangeable zoom 100% in viewer if there is switching viewer->fullscreen->viewer. There are two solutions to this:
1. "Lock zoom" should not be changed when switching viewer->fullscreen->viewer
2. "Settings / View" should get another fit option, something like "zoom 100%" or "zoom = some-value"
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Sun Dec 18, 2022 6:29 pm
by user0
tbh, I find zoom settings unintuitive as well, especially 'Last used' option.
I described my points in
'Suggestion B'
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Wed Jan 25, 2023 1:05 pm
by risky7
Are there any news about this?
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Feb 06, 2023 3:47 am
by Hakim Antoine Said
I HAVE THE SAME BUG AND STILL PERSISTS!
i don´t know how to solve it
no one helping
what a pity

Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Feb 06, 2023 3:56 am
by Hakim Antoine Said
risky7 wrote: Wed Jan 25, 2023 1:05 pm
Are there any news about this?
Hello Risky7
check this out
viewtopic.php?f=62&t=44743
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Feb 06, 2023 7:40 am
by xnview
See
issue for current status and some details.
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Feb 06, 2023 8:52 pm
by Hakim Antoine Said
xnview wrote: Mon Feb 06, 2023 7:40 am
See
issue for current status and some details.
Hello Pierre
it is NOT Zoom in viewer when retruns from fullscreen
when returns from fullScreen, viewer gets image smaller, that´s my case
my advise is this: in viewer, add an option called: Viewer = "100% zoom" (FORCED!) and NOT editable by others, i mean... when i go to full screen, when i return, viewer keeps zoom at 100% ALWAYS! and not changed, i think that would be an option to fix the bug, tedious bug i mean
NOTE: I sent you a private message, PLEASE read it and reply me, the truth is that I need you to add more effects to the MP version (XNView MP), please take a look at the private message I sent you
thanks in advance, it really means a lot to me those effects!... i really need them
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Mon Feb 27, 2023 10:03 am
by xnview
This problem is supposed to be fixed in
XnView MP 1.4.3. Please check and confirm the bug fix here.
Re: disconnect zoom-fullscreen from zoom-browser
Posted: Tue Feb 28, 2023 3:10 am
by Hakim Antoine Said
xnview wrote: Mon Feb 27, 2023 10:03 am
This problem is supposed to be fixed in
XnView MP 1.4.3. Please check and confirm the bug fix here.
Hello Pierre
FullScreen (Auto image Size) Fit image To Window, Large Only =>
IT DOESN´T WORK
when i go next and previous image, it doesn´t show full image on FullScreen, it shows part of the image, OR... it shows small size image,
so... it doesn´t fixed yet!
BUT... on VIEW (no fit) IT WORKS GR8!
This problem is supposed to be fixed in XnView MP 1.4.3, BUT... it doesn´t....
fullScreen has a bug YET
Unpleasant Display issue 