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
xnview.ini updates on restart even when nothing has changed
Last edited by rotbus19 on Thu May 29, 2025 5:06 pm, edited 1 time in total.
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
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.
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.
Re: xnview.ini updates on restart even when nothing has changed

Pierre.
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.
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.