You are here

[Fixed] On update XnView resets the users preferences

15 posts / 0 new
Last post
MichaelDW
Offline
Last seen: 5 years 4 months ago
Joined: 2011-01-05 11:50
[Fixed] On update XnView resets the users preferences

When updating XnView the users preference are reset to the 'factory default'.
Thus erasing all of the users settings.

As far as I can tell the file that is most effected is the 'xnview.ini' file.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 23 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
acknowledged

Fix coming later today

[EDIT] I had a chance to look into this, but can't duplicate. What settings aren't being maintained for you?

MichaelDW
Offline
Last seen: 5 years 4 months ago
Joined: 2011-01-05 11:50
All 'Open with' settings,

All 'Open with' settings, Read/Write settings (Xnview has settings for each format group) , 8bf folder(s) , startup folder (fold that Xnview always starts in) .

There maybe others I don't know.
These are the ones that I know about and can track down.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 23 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
can you be a wee bit more specific?

What were the values, what are they now, and what are they supposed to be?

MichaelDW
Offline
Last seen: 5 years 4 months ago
Joined: 2011-01-05 11:50
The values where completely

The values where completely deleted.

I backup my flash to HD weekly so i have a copy of my old xnview.ini, and my current one.

Just tell me where to send them.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 23 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
pastebin

Please post them on pastebin, and post the links here.

MichaelDW
Offline
Last seen: 5 years 4 months ago
Joined: 2011-01-05 11:50
Old xnview.ini

Old xnview.ini http://pastebin.com/c20XmHw2

After update and first run http://pastebin.com/EeU6bKhP

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 23 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
location?

Where was your old xnview.ini located? I see the previous maintainer kept copies in both App\XnView and Data. They should be identical, from the looks of his spaghetti code, but if you deleted the one in Data manually, that may be the issue.

depp.jones
Offline
Last seen: 6 hours 16 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Could be a problem in

Could be a problem in converting an custom launcher app to PA.c launcher. As the old XNView Portable did not use a settings folder in Data the PA.c launcher copies over the contents of DefaultData at first run. The existence of the settings folder (or the lack of it) seems to be the only condition for using DefaultData or not.
Just a quick guess, I did not check your custom code.

btw. there seems to be a settings folder in your defaultdata.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 23 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Intentional

That's intentional. It's needed for converting default LastDrive & LastPackagePartialDir values to the correct values.

However, you might have found the issue - I'll have to look into it some more.

depp.jones
Offline
Last seen: 6 hours 16 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
I thought so. I don't know if

I thought so. I don't know if that's the way it should be done. I think I remember a statement of John that this should be avoided, but am not shure about that. I don't find that topic anymore. I had the same construct in my first dev test releases of PhotoFilmStrip but discarded it for that reason.

But I found the topic related to upgrading from non-PAL to PAL apps: https://portableapps.com/node/30522

vf2nsr
vf2nsr's picture
Offline
Last seen: 6 years 3 months ago
Developer
Joined: 2010-02-13 17:10
hmmm

any update Gord? I know I asked the same question?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

MichaelDW
Offline
Last seen: 5 years 4 months ago
Joined: 2011-01-05 11:50
The files that I posted were

The files that I posted were in the \Data\ .
And I didn't delete / move / copy / etc. anything until it started acting strange due to the xnview.ini file being altered.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 16 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 1.98.7 Rev 2

This is fixed in the current release. Upgrading from earlier versions will work properly now.

Sometimes, the impossible can become possible, if you're awesome!

MirageFL
MirageFL's picture
Offline
Last seen: 4 years 9 months ago
Joined: 2012-10-04 10:22
Not fixed at all. Update to

Not fixed at all. Update to 1.99.6 reset my settings Sad

Log in or register to post comments