After updating XnView to 2.39 (on a Win 7 Laptop) it forgot all settings, i.e. programms in "open with", the size of the thumbnails, the last folder and more.
On my Win 10 Computer it works fine.
Under "Tools->Options-> System integration" "Save options" is marked as INI in folder User. When I edit the INI file manually then these settings will be load next time I start XnView but changes are not stored in this INI file.
What can I do, where I have to look?
XnView 2.39 forgot the settings on Win7
Moderators: XnTriq, helmut, xnview
XnView 2.39 forgot the settings on Win7
Keep
Horst
Horst
Re: XnView 2.39 forgot the settings on Win7
Could you try running XnView with Admin right and check if that overcomes the problem?Woodman wrote:After updating XnView to 2.39 (on a Win 7 Laptop) it forgot all settings, i.e. programms in "open with", the size of the thumbnails, the last folder and more.
On my Win 10 Computer it works fine.
Under "Tools->Options-> System integration" "Save options" is marked as INI in folder User. When I edit the INI file manually then these settings will be load next time I start XnView but changes are not stored in this INI file.
And out of interest, could you have installed XnView while logged in to an Admin account, and now be using it from a User account?
Edit:
I'm wondering if you might have two XnView .ini files, one in your Admin account and one in your User account??
Re: XnView 2.39 forgot the settings on Win7
First of all: there is no difference wether I work as Admin or as regular User.cday wrote:...
Could you try running XnView with Admin right and check if that overcomes the problem?
I've installed XnView as normal User. But the setup asked for the Admin password.cday wrote:And out of interest, could you have installed XnView while logged in to an Admin account, and now be using it from a User account?
There is an INI file in every account.cday wrote:I'm wondering if you might have two XnView .ini files, one in your Admin account and one in your User account??
I made some investigations as Admin. This is part of the INI file: On E: I mount different USB disks and in the example above is a path from before the update to Version 2.39. You cat see this also when I start XnView: On the top you can see the path where is XnView looking for.
So I choose a new path:
... and close XnView. In the INI file is the new path saved: After starting XnView again it looks like the first start above: And, after closing XnView in the INI file is the same (old) content:
For me it seems that XnView reads the INI file from one location writes to another one.
But, from which location is the INI file (whith old content) read?
Keep
Horst
Horst
Re: XnView 2.39 forgot the settings on Win7
Some more investigations:
The error happens also under Windows 10 if...
...if there is a xnview.ini in the C:\Program Files (x86)\XnView folder.
XnView works fine both on Windows 10 and 7 when I delete the xnview.ini in the program folder.
The error happens also under Windows 10 if...
...if there is a xnview.ini in the C:\Program Files (x86)\XnView folder.
XnView works fine both on Windows 10 and 7 when I delete the xnview.ini in the program folder.
Keep
Horst
Horst
Re: XnView 2.39 forgot the settings on Win7
You'll find the INI file location in Info » About....Woodman wrote:But, from which location is the INI file (whith old content) read?
Re: XnView 2.39 forgot the settings on Win7
That's right. But what happens if in the About the "INI file location" is "C:\Program Files (x86)\XnView\xnview.ini" and in the Options>System integration "Save options as INI in folder "User""?XnTriq wrote:You'll find the INI file location in Info » About....Woodman wrote:But, from which location is the INI file (whith old content) read?
Keep
Horst
Horst
Re: XnView 2.39 forgot the settings on Win7
<!--// EDIT //Woodman wrote:But what happens if in the About the "INI file location" is "C:\Program Files (x86)\XnView\xnview.ini"
[…]
and in the Options>System integration "Save options as INI in folder "User""?
Your screenshot indicates that xnview.ini is actually located in …walter\AppData\Roaming\XnView\ (probably due to user account control data redirection).
// EDIT // -->
Related topics (for future reference):
- xnview.ini & cache folder setting not obeyed
- xnview.ini in program folder with Windows 7
- Win7 64bit: Avoid loosing settings!
- Folder tree very slow to load
- XnView et "User Account Control Data Redirection"
- Help! INI File has Disappeared!
- fichier ini
- Need to change the location of settings
- Windows 10
- How to hide menu in viewing mode?
GeorgD ([url=http://newsgroup.xnview.com/viewtopic.php?t=16939&p=83003#p83003]Win7 64bit: Observation + Registry Export[/url]) wrote:Hi, I reinstalled Win 7 DE 64bit Home Premium (I had the RC whose lifetime ends soon). Hence, I reinstalled XnView. Installation worked fine. .ini etc were copied to C:\Users\MYUSERNAME\AppData\Roaming\XnView which is fine. I overwrote the ini with my old ini from Win XP, after which it is important to do the setting F12 - System integration - Save Options - as ini in folder - User as without the setting, XnView might get the setting to save in XnView folder or in Windows folder which can be accessed by XnView in Win XP but can not in Win 7 - so XnView can't write there and looses the complete ini, also the one in user folder!
gothate ([url=http://newsgroup.xnview.com/viewtopic.php?t=19996&p=84420#p84420]Folder tree very slow to load[/url]) wrote:Okay, I found where it keeps the files if you have it set to Options > System Integration > Save options > *as INI in folder - XnView. The files are kept in:
C:\Users\*username*\AppData\Local\VirtualStore\Program Files\XnView
This webpage explains why (if you're curious): http://zone.ni.com/devzone/cda/tut/p/id/5538#toc3
For example, take a legacy software application that attempts to write to a configuration INI file located in:
C:\Program Files\<application>\Setup.ini
Windows Vista automatically detects that you do not have permission to save to that location. Windows Vista then copies the file (if it already exists) to:
C:\Users\<your_account>\AppData\Local\VirtualStore\Program Files\<application>\Setup.ini
Windows Vista then allows the write operation to succeed at the new file in the VirtualStore folder. Subsequent read and write operations for that file will always use the file copy located in the VirtualStore folder. However, the application will continue to believe that it is accessing the Program Files directory (see Figure 4).
Re: XnView 2.39 forgot the settings on Win7
For me the problem is solved.
As I wrote above:
As I wrote above:
Woodman wrote:...
XnView works fine both on Windows 10 and 7 when I delete the xnview.ini in the program folder.
Keep
Horst
Horst
Re: XnView 2.39 forgot the settings on Win7
OK, thanks for clarifying.Woodman wrote:For me the problem is solved.