You are here

XnView classic doesn't save any customizations

14 posts / 0 new
Last post
bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
XnView classic doesn't save any customizations

Last version 2.51.7 Aug 26 2024 on Windows 10 Pro 64 bit

It doesn't save any customizations, such as language or additional buttons on the toolbar, it applies them but when you next restart the program they return to default

Any ideas?

Thanks

Roberto

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 32 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Working Here

I fired up XnView Portable 2.51.7 and changed it to French. Closed it and then re-opened it and it was in French. How are you launching the app?

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

UpdateInformer
Online
Last seen: 8 min 6 sec ago
Joined: 2013-07-15 09:27
maybe it helps to isolate problem.

had the same problem with other portable app by pc restart, as app running all time.
it's a dev portable app packaged as zip file, maybe less portable but same problem.
i got back to standard settings, even the theme/skin.
next restart no problems.
hope you find the problem, seems to be more general problem.

i help where i can! help each other! be nice!

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
I installed the app and I

I installed the app and I start it from the PortableApps menu, like all the others I installed
Even with administrator permissions, same problem
With previous versions, no problem
I'll try to restore everything to standard as soon as I can, but I've already uninstalled\reinstalled it and everything should already be default
As if some permission was missing to write the *.ini files, but I don't know...

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
No button

I reset the *.ini files and now it seems to work again
The only thing that doesn't work is adding buttons to the toolbar, I create the button but if I close/reopen the program the button disappears

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 32 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
How Create?

How are you creating a button? It doesn't seem to apply anything I change in the Toolbar settings.

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

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
No button

I created a short video on how I create the button, a procedure I have always used with previous versions of the program. The video will remain available for 10 days
Again, unfortunately, even the other settings, such as the language, are reset after 1 or 2 restarts
http://wikisend.com/download/128214/unknown_2024.10.02-23.02.mp4

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 32 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Weird

Ok, I was confused by the 3 separate toolbars. I was able to create one on Browser and it does indeed disappear when you close and restart. Weirdly, the foo.bar file is configured correctly and in the correct location. To the point that if I manually move it in and run xnview.exe directly, it works. Not sure why there'd be any difference. You say it used to work correctly?

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

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
No button

Yes, with previous versions of the program once created the button remained there and did not disappear
I will try as soon as I can a fixed version of XnView, not portable, and see if the problem appears there too

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
I downloaded a zip version

I downloaded a zip version from the official website and with that it works, the button is created and when I restart the program it remains
I'll try to see the differences between portable and official zip, if I understand something...

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
Button ok, but...

After further testing I found a non-definitive workaround
With the program closed, delete the 'xnview.ini' file in the 'Data' folder
It no longer deletes the created button but other options are not changed, the language is one of these
So in my opinion there is a problem in the management of *.ini files in the portable version of the program, I hope it can be solved in future versions
Thanks for the help that encouraged me to do tests and find the problem

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Offline
Last seen: 15 hours 18 min ago
Translator
Joined: 2019-07-19 07:09
Button edit, but...

This one, is not missing, at least!

“My brain is only a receiver, in the Universe there is a core from which we obtain knowledge, strength and inspiration. I have not penetrated into the secrets of this core, but I know that it exists.”

― Nikola Tesla ―

John T. Haller
John T. Haller's picture
Offline
Last seen: 7 hours 32 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Oddball Test Results

I start XnView Portable, I add a button to the Browser toolbar and it appears after I click OK. Before closing, I make a copy of XnViewPortable\App\XnView which contains the app and all the settings. I then close, wait a moment, and reopen XnView Portable. No button. I then close and run XnView.exe within the copy of XnView I made. The button shows up. I then run XnView Portable again, no button. While it's still running, I use WinMerge on XnViewPortable\App\XnView and the copied XnView directory I made. They match fully. So, for some reason, XnView isn't using the custom buttons when run from XnViewPortable.exe.

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

bobo779256
Offline
Last seen: 1 day 2 hours ago
Joined: 2015-05-16 04:12
Exactly

Exactly
If you look at the contents of the "\PortableApps\XnViewPortable\Data" folder with the program closed and open you will see files present if closed and not present if open
At the same time in the "Portable\TempForPortableApps" folder you will see files created by the program when opened which I think are those that once closed are rewritten in the "Data" folder
I think the problem is here, in this management of the *.ini *.db *.bar files in the Data and TempForPortableApps folders

Log in or register to post comments