Page 1 of 1

xnview config file always rewrites after open-close

Posted: Thu Dec 14, 2023 8:15 pm
by forklab
If history and sessions records are disabled then just opening and closing xnview mp runs config rewrite process at which section [Format] always changes - file extensions just tosses in a new way each time and config saved.

1) this is abnormal because no parameters changed so no write operations needed
2) no need to toss extensions each time
3) if system crash or something happens at write moment then it is high possibility of losing config

example:

Code: Select all

[Format]
archive=rar 7z arj gz zip tar tgz
audio=mp+ mpp au rmi mp2 wma asx ogg aif snd mp3 mpc flac mid wav
avi=vob divx wmv avi asf vfw
mpeg=m4a mts mpa m2v mpe m1v m2ts m4v mpm m1s mp4 mpeg mpg
ps=svgz epsf svg eps ai pdf ps
qt=mov 3g2 3gp2 qt 3gp
text=txt cpp gcode xmp cc php h pas js css c c++ ini
video=mkv rm webm aae flv

Re: xnview config file always rewrites after open-close

Posted: Fri Dec 15, 2023 6:56 am
by xnview
xnview config file is always rewritten at exit

Re: xnview config file always rewrites after open-close

Posted: Fri Dec 15, 2023 8:54 am
by forklab
Why if there is no changes in settings?

Re: xnview config file always rewrites after open-close

Posted: Fri Dec 15, 2023 8:56 am
by xnview
geometry of dialog

Re: xnview config file always rewrites after open-close

Posted: Fri Dec 15, 2023 9:01 am
by forklab
What geometry of dialog?
Program opened, program closed. Nothing changed, no geometry, no parameters, no x-y-width-height of any dialogs/windows. ini is rewritten. Each open-close. :bug: :bug: :bug:

Re: xnview config file always rewrites after open-close

Posted: Fri Dec 15, 2023 10:13 am
by xnview
it's not a bug, Qt always sync settings at exit