Page 1 of 1

Feature Request: Remember window size after restart

Posted: Thu Apr 18, 2024 6:50 am
by rovf
I'm running XnView MP 1.7.1 on MacOS 12.7.3

When I start XnView, the window is sized to occupy as much of the screen as possible (not "maximized"). I have to resize it to my liking every time.

It would be great if upon closing, XnView would remember the size it had last time, and reopen in that size.

Re: Feature Request: Remember window size after restart

Posted: Wed May 01, 2024 2:57 pm
by xnview
XnView remember its size. If you size it to less size, same problem?

Re: Feature Request: Remember window size after restart

Posted: Wed May 01, 2024 3:21 pm
by rovf
Yes. And I darkly believe that in the past, it did remember the size. Now it doesn't.

Where does it store the remembered size? In a P-List? In some INI-File?

Re: Feature Request: Remember window size after restart

Posted: Thu May 02, 2024 6:06 am
by xnview
Settings>Integration>Paths

Re: Feature Request: Remember window size after restart

Posted: Thu May 02, 2024 8:04 am
by rovf
There is no "Settings" menu. I have in the XnView menu, right under "About XnView", a menu entry "Preferences" (shortcut: AppleKey + ","), and under "Integration", it says "use .ini in folder User (System)". So it seems to use an INI-File, but what folder is it? There is of course no folder named "/User (System)". Where can I get the *real* path to the ini file?

Re: Feature Request: Remember window size after restart

Posted: Sat May 04, 2024 7:40 am
by xnview
rovf wrote: Thu May 02, 2024 8:04 am There is no "Settings" menu. I have in the XnView menu, right under "About XnView", a menu entry "Preferences" (shortcut: AppleKey + ","), and under "Integration", it says "use .ini in folder User (System)". So it seems to use an INI-File, but what folder is it? There is of course no folder named "/User (System)". Where can I get the *real* path to the ini file?
you have 'open config location file'

Re: Feature Request: Remember window size after restart

Posted: Sat May 04, 2024 8:00 am
by cday
xnview wrote: Sat May 04, 2024 7:40 am
rovf wrote: Thu May 02, 2024 8:04 am Where can I get the *real* path to the ini file?
you have 'open config location file'

Screenshot from 2024-05-04 08-49-45.png

Re: Feature Request: Remember window size after restart

Posted: Sat May 04, 2024 9:42 am
by rovf
Thanks a lot. The path is $HOME/.config/xnview.ini .

The strange thing is, that now it suddenly remembers its size. When I resize the Window, the timestamp of the xnview.ini file changes. I can't nor reproduce the previous behaviour of always getting the same size. I'm really puzzled....