1. copy contents of xnview.ini
2. open XnView then close it again without any interaction
3. copy contents of xnview.ini
4. compare the before / after and it shows the `[Format]` section is being updated, rearranging the order of file types:
This repeats each time XnView is restarted.
I also notice that xnview.ini is being *created* every time rather than *modified* - could be a performance issue here?
EDIT - `autocorrect.txt` is also being modified just by opening Settings, changing nothing, then closing it with `OK` - an unnecessary write?
xnview.ini updates on restart even when nothing has changed
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 81
- Joined: Sat Feb 17, 2024 11:47 am
xnview.ini updates on restart even when nothing has changed
You do not have the required permissions to view the files attached to this post.
Last edited by rotbus19 on Thu May 29, 2025 5:06 pm, edited 1 time in total.
-
- XnThusiast
- Posts: 2443
- Joined: Sat May 09, 2015 9:37 am
Re: xnview.ini updates on restart even when nothing has changed
yeah, it would be handy to have formats list A-Z sorted
as its used in Custom filter (Settings > Filelist) in the same order
as its used in Custom filter (Settings > Filelist) in the same order
-
- Author of XnView
- Posts: 46362
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini updates on restart even when nothing has changed
Qt API recreates always the .inirotbus19 wrote: Thu May 29, 2025 3:59 pm I also notice that xnview.ini is being *created* every time rather than *modified* - could be a performance issue here?
Pierre.
-
- Posts: 81
- Joined: Sat Feb 17, 2024 11:47 am
Re: xnview.ini updates on restart even when nothing has changed
OK, I guess there's not much difference in resource overhead for create vs update. So the bigger issue is the unnecessary update / write when the user has changed nothing in settings.
-
- Author of XnView
- Posts: 46362
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini updates on restart even when nothing has changed

Pierre.
-
- Author of XnView
- Posts: 46362
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: xnview.ini updates on restart even when nothing has changed
This problem is supposed to be fixed in XnView MP 1.9.2. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 81
- Joined: Sat Feb 17, 2024 11:47 am
Re: xnview.ini updates on restart even when nothing has changed
Not completely fixed. The format file list is no longer being reordered unnecessarily, but xnview.ini is still being created even though nothing has changed.
Open XnView then close it without changing anything. A new version of xnview.ini is created even though it is identical to the previous version.
Open XnView then close it without changing anything. A new version of xnview.ini is created even though it is identical to the previous version.