Viewer removes added image extensions on restart

Bugs and other issues or requests which have been resolved.
Post Reply
Message
Author
Rich3wis
Posts: 6
Joined: 12.02.2021, 00:26

Viewer removes added image extensions on restart

#1 Post by Rich3wis » 12.02.2021, 00:59

Any extension added to the Viewer Images 'as image' field is be removed on restart eg .afphoto .test

Steps to reproduce

1. Open settings
2. View>Viewer
3. Click Viewer button
4. In the General tab add .afphoto to the 'as image' field, apply and/or save. NOTE: viewer doesn't display the preview until step 5
5 Open the viewer option again. The extension .afphoto is still in the 'as image' field. Click apply and the viewer now correctly displays the preview.
6. Close Freecommander.
7. Open Freecommander
8. No preview and the extension .afphoto has been removed from the 'as image' field in Viewer General settings.

As stated above, adding a fake extension eg .test also gets removed so it's probably not a .afphoto issue

Reproduced on a clean version of FreeCommander XE 2021 Build 840 portable ZIP
Windows 10 (OS Build 19041.508)

Full write permissions are available and tested as Windows Admin.
All other settings I tried were persistent.

Thanks for any help solving this.

------------------------------------------
Edit with more information:
Auto save settings - on exit is set on (It's the default when the portable version is extracted). Tools->Save settings makes no difference and a user shouldn't have to do this.

None of the settings in the viewer options tabs are persistent across restarts. Freecommander doesn't write them back to FreeCommander.ini. In the Viewer options, I tested adding a file extension, setting up xnview path, changing text background colour. None of the changes persisted across restarts

Changes to options other than in Viewer are saved and persist across restarts eg moving tabs to the bottom and changing thumbnail size.

If FreeCommander.ini is edited and 'afphoto' is added to the options for 'ExtList4ImageEnPreview=' everything works as expected.
Last edited by Rich3wis on 12.02.2021, 17:10, edited 4 times in total.

Karol
Posts: 963
Joined: 19.08.2007, 12:05

Re: Viewer removes added image extensions on restart

#2 Post by Karol » 12.02.2021, 09:57

Works right for me.
If you have the option "Auto save settings - on exit" deactivated then between 5. and 6. you should save the settings Tools->Save settings.

Rich3wis
Posts: 6
Joined: 12.02.2021, 00:26

Re: Viewer removes added image extensions on restart

#3 Post by Rich3wis » 12.02.2021, 17:04

Karol wrote: 12.02.2021, 09:57 Works right for me.
If you have the option "Auto save settings - on exit" deactivated then between 5. and 6. you should save the settings Tools->Save settings.
Auto save settings - on exit is set on (It's the default when the portable version is extracted). Tools->Save settings makes no difference and a user shouldn't have to do this.
I've added some extra details to my original post.

Did you test the latest 32 bit portable version?

Karol
Posts: 963
Joined: 19.08.2007, 12:05

Re: Viewer removes added image extensions on restart

#4 Post by Karol » 12.02.2021, 17:35

Please try my steps

1. Unpack the FreeCommanderXE-32-public_portable840.zip in temp folder (e.g. c:\temp\FCXE\)
2. Start c:\temp\FCXE\freecommander.exe
3. Open settings Tools->Settings
4. In View>Viewer click on "Viewer" pushbutton
5. In the General tab add .xxx to the 'as image' field
6. Click OK in "Configure viewer" dialog
7. Click OK in "Settings" dialog
8. Close Freecommander
9. Open Freecommander c:\temp\FCXE\freecommander.exe
10. Open settings Tools->Settings
11. In View>Viewer click on "Viewer" pushbutton
12. Check if .xxx exists

For me these steps always work.

User avatar
alf5000
Posts: 552
Joined: 12.04.2012, 17:59
Location: Austria

Re: Viewer removes added image extensions on restart

#5 Post by alf5000 » 12.02.2021, 18:08

@Karol
I changed your findings a bit and added step 2a, please try it.
For me it never saves .xxx, if I add step 2a.
Karol wrote: 12.02.2021, 17:35 1. Unpack the FreeCommanderXE-32-public_portable840.zip in temp folder (e.g. c:\temp\FCXE\)
2. Start c:\temp\FCXE\freecommander.exe
2a Start "Quick Viewer"
3. Open settings Tools->Settings
4. In View>Viewer click on "Viewer" pushbutton
5. In the General tab add .xxx to the 'as image' field
6. Click OK in "Configure viewer" dialog
7. Click OK in "Settings" dialog
8. Close Freecommander
9. Open Freecommander c:\temp\FCXE\freecommander.exe
10. Open settings Tools->Settings
11. In View>Viewer click on "Viewer" pushbutton
12. Check if .xxx exists
(win10pro x64) - (latest FCXE x64 portable)

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: Viewer removes added image extensions on restart

#6 Post by Dreamer » 12.02.2021, 18:26

I can reproduce with the steps in previous post, .xxx is missing, 840 portable 32-bit.

When I skip step 2a, or just close quick viewer, restart FC, add .xxx, OK, OK, restart FC, it's still there, saved.

Karol
Posts: 963
Joined: 19.08.2007, 12:05

Re: Viewer removes added image extensions on restart

#7 Post by Karol » 12.02.2021, 18:32

For me it never saves .xxx, if I add step 2a.
I agree.
We have found a bug and workaround.

Rich3wis
Posts: 6
Joined: 12.02.2021, 00:26

Re: Viewer removes added image extensions on restart

#8 Post by Rich3wis » 12.02.2021, 20:03

Thanks for confirming and finding the issue.

I'll just reiterate that the bug affects all of the settings in the tabs for the Configure Viewer, not just file extensions. Basically the Viewer can not be configured at all if it's open using the Tools > Options path.

Another workaround is to use the viewer settings on the right click menu in the viewer.

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: Viewer removes added image extensions on restart

#9 Post by Dreamer » 12.02.2021, 22:31

Should be fixed in 842.

Closed.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 37 guests