I installed the latest XnView MP (Oct 2023) and now all of my "settings" are ignored. I set them, then the next time I
use XnView, I have to set them again. And again. And again.
What am I doing wrong? I.e. the "don't ask me again" when exiting is completely ignored.
Ed Bradford.
settings ignored
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 2009
- Joined: Sat May 09, 2015 9:37 am
Re: settings ignored
161 settings/catalog/etc saved in app folder
can confirm that some settings resets after app restart, eg Shortcuts
can confirm that some settings resets after app restart, eg Shortcuts
-
- Posts: 4
- Joined: Wed Feb 15, 2023 8:38 am
Re: settings ignored
I am on a Windows 10 machine with the very latest MS software. When I installed 1.6.1, XNView suddenly
lost all my settings upon exit. I then uninstalled and installed 1.6.0. Same result. I uninstalled and have now
gone through 1.5.5 and 1.4.0 with the same result. When I change my settings exactly where does XNView save it
and in what format? I've looked in the registry and in my "AppData\." directory and see nothing of interest.
Very frustrating. Every time I start XNViewMP I have to go through my 4 or 5 settings and reset them
and test them.
Any help on what I and/or Windows are doing wrong would be greatly appreciated.
Is there a very simple test I can do to check whether XNViewMP is doing the right thing?
I don't recognize Settings>"Integration>Paths". I don't know what that is and there is no
"Integration" or "Paths" in my settings window.
Ed Bradford
I fixed it. After installing a lot of stuff, I went to appdata\roaming\XNViewMP and saw this:
C:\egb\AppData\Roaming\XnViewMP>ls -l
total 13847592
-rwxr--r--+ 1 egb None 14130028544 Nov 9 21:41 Thumb.db
-rwxr--r--+ 1 egb None 49864704 Nov 9 22:57 XnView.db
-rwxr--r--+ 1 egb None 739 Nov 9 22:58 default.bar
-rwxr--r--+ 1 egb None 6254 Nov 9 22:58 default.keys
-rwx------+ 1 egb None 27042 Sep 24 02:19 xnview.ini
I then did this (I have cygwin installed on all my windows machines):
C:\egb\AppData\Roaming\XnViewMP>chmod 0664 *
Resulting in this:
C:\egb\AppData\Roaming\XnViewMP>ls -l
total 13847592
-rw-rw-r--+ 1 egb None 14130028544 Nov 9 21:41 Thumb.db
-rw-rw-r--+ 1 egb None 49864704 Nov 9 22:57 XnView.db
-rw-rw-r--+ 1 egb None 739 Nov 9 22:58 default.bar
-rw-rw-r--+ 1 egb None 6254 Nov 9 22:58 default.keys
-rwx------+ 1 egb None 26584 Nov 9 23:08 xnview.ini
Before all this I had to change
C:\egb\AppData\Roaming\XnViewMP>chown egb xnview.ini
Once the "chown egb xnview.ini" was done and the allowing of everyone to read and
me and my "group" (??) to write, everything worked in 1.5.5. Now I will remove
1.5.5. and install 1.6.1. Stay tuned to this thread.
CONFIRMED. 1.6.1 behaves as expected. The issue is with ownership
and permissions in the AppData/Roaming/XNViewMP/ directory. Changed
ownership to egb and made all files readable by everyone and all files writable
by me and my group.
ISSUE RESOLVED on 2023-11-09 for 1 up-to-date Windows 10 machine.
Ed
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 2009
- Joined: Sat May 09, 2015 9:37 am
Re: settings ignored
in version 1.4.5-1.6.1 (app settings stored inside app folder)
Shortcuts resets to default after restart
to reproduce
0. unzip archive with app
1. run app (with or without file)
2. set any Shortcut in Settings, eg change Viewer 100% from * to N
3. test it in Viewer - it works
4. close app
5. run app again
shortcut will be reset to *
not 100% reproducible, sometimes it saves, no idea why
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: settings ignored
you start XnView in viewer mode?user0 wrote: ↑Fri Nov 10, 2023 4:51 pm to reproduce
0. unzip archive with app
1. run app (with or without file)
2. set any Shortcut in Settings, eg change Viewer 100% from * to N
3. test it in Viewer - it works
4. close app
5. run app again
shortcut will be reset to *
not 100% reproducible, sometimes it saves, no idea why
Pierre.
-
- XnThusiast
- Posts: 2009
- Joined: Sat May 09, 2015 9:37 am
Re: settings ignored
it does not matter, both modes are affected
guess issue is with reading multi-steps shortcut from .keys file
try to set 'N, N' shortcut
shortcut will be saved in default.keys
Code: Select all
[View]
cmd_zoom100 N, N
Settings > Interface > Shortcuts > Viewer shows
100% cmd_zoom100 = *
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 3
- Joined: Fri Mar 17, 2023 10:26 pm
Re: settings ignored
I just solved a similar issue in case anyone is still interested. XnViewMP would keep resetting my shortcuts when I closed even though they were saved in the 'default.keys' file. The issue was that the 'xnview.ini' file was not pointing to the 'default.keys' file correctly. It read:user0 wrote: ↑Tue Nov 14, 2023 8:55 amit does not matter, both modes are affected
guess issue is with reading multi-steps shortcut from .keys file
try to set 'N, N' shortcut
shortcut will be saved in default.keysbut when app started in any modeCode: Select all
[View] cmd_zoom100 N, N
Settings > Interface > Shortcuts > Viewer shows
100% cmd_zoom100 = *
Code: Select all
shortcut=default.keys
Code: Select all
shortcut=/home/username/.config/xnviewmp/default.keys