XnView MP 1.6.1 on Windows 11 (but this has been for quite a while)
What I mean is, how can I force the size adjustments I make to the GUI (pane sizes, divider positions, etc.) to "stick"? For example, I can adjust my left and right panes so that I have X number of thumbnails per line, with room for the vertical scrollbar. It'll stay that way for a while, but eventually when I launch XnView MP again (a few to several sessions later) the pane sizes will have changed and I now have X-1 (or whatever) thumbs per line, etc. It doesn't happen immediately upon the next launch, but eventually it will.
I've tried getting everything Just Right then making some change in Settings, then putting it back (to hopefully force a save to the INI, etc.). But so far I've not found a way to enforce GUI appearance.
To be clear - I'm not talking about theme colors, icons, fonts and such. Those changes stay as expected. I'm just talking about resizing of GUI elements such as panes, dividers and such.
Thanks.
How to lock / save GUI size adjustments?
Moderators: helmut, XnTriq, xnview, Dreamer
How to lock / save GUI size adjustments?
Len Philpot
Re: How to lock / save GUI size adjustments?
they should saved/restored. Could you post a screenshot before/after?
Pierre.
Re: How to lock / save GUI size adjustments?
I have two displays, both 1920x1080. Here's the sequence...
1. Launch XnView and it's correct (I adjusted last session, several hours ago):
2. Move it to my other display (both displays are 1920x1080) and it changes:
3. Move it back and it stays changed. Close and relaunch and it stays changed, doesn't return to how it was last session. Note the width of both left and right panes has changed.
So this time it changed when I dragged it from one display to the other, maybe when it "normalized" (not maximized) during the dragging process. But I've seen the same kind of change simply from one session to another, usually at least overnight between.
Thanks.
1. Launch XnView and it's correct (I adjusted last session, several hours ago):
2. Move it to my other display (both displays are 1920x1080) and it changes:
3. Move it back and it stays changed. Close and relaunch and it stays changed, doesn't return to how it was last session. Note the width of both left and right panes has changed.
So this time it changed when I dragged it from one display to the other, maybe when it "normalized" (not maximized) during the dragging process. But I've seen the same kind of change simply from one session to another, usually at least overnight between.
Thanks.
Len Philpot
Re: How to lock / save GUI size adjustments?
Yes, I encountered a similar bug in version 1.6.2 and earlier. In the portable version it did not appear at first, so I decided to find out the reason. And here's the thing. If recent files list is not empty, and the state=@ByteArray parameter in the [browser] section of the xnview.ini file is not automatically enclosed in ""-quotes at a certain moment, auto-sizing of panels does not occur. But at some point, it is not clear why, ByteArray is enclosed in quotes, and with each launch of the program, the panels change size more and more. Removing the quotes resets the display of the panels, so I had to transfer the entire line without the quotes from the portable version.
Re: How to lock / save GUI size adjustments?
+1xmozg wrote: Thu Nov 23, 2023 9:14 pm But at some point, it is not clear why, ByteArray is enclosed in quotes, and with each launch of the program, the panels change size more and more. Removing the quotes resets the display of the panels, so I had to transfer the entire line without the quotes from the portable version.
user0 wrote: Thu Nov 03, 2022 8:57 am
- bring consistency to the settings' values:
- some values are in quotes, some not, e.g. @ByteArray(..), "@ByteArray(..)"
- sometimes separator is space, sometimes comma
Re: How to lock / save GUI size adjustments?
I've checked again and it's happening (at least) when the app window size changes. For example:
https://vimeo.com/887870483/14c34523a1?share=copy
This is 1.6.2, BTW.
https://vimeo.com/887870483/14c34523a1?share=copy
This is 1.6.2, BTW.
Len Philpot
Re: How to lock / save GUI size adjustments?
Central panel is always resized to keep left/right panel in the same size...
Pierre.