875 - Color scheme can't be deleted from the button menu

Discussion and questions - donor version.
Post Reply
Message
Author
User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

875 - Color scheme can't be deleted from the button menu

#1 Post by Dreamer » 16.10.2022, 14:32

To reproduce create a toolbar button for color schemes - item "Show color schemes popup menu", click the button, select "Remove color scheme...", select any item and confirm deletion.

Result is, that color scheme is not removed, it's still in the list, also after FC restart.

Color scheme file is not "read-only" and can be deleted in its original location easily.

EDIT: Another issue, if the color scheme is deleted while FC is running, after FC restart it's not in the ColorSchemes folder, but after clicking the toolbar button for color schemes deleted color scheme is restored.

I tried to close FC and delete that color scheme in Windows Explorer, but after opening FC and clicking the toolbar button it was restored as well.

In both cases, deleted color scheme was not the active color scheme.

875, Windows 10.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: 875 - Color scheme can't be deleted from the button menu

#2 Post by horst.epp » 16.10.2022, 15:01

No such problems here.
The deletion asks for confirmation and deletes the name.colors file successfully..
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

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

Re: 875 - Color scheme can't be deleted from the button menu

#3 Post by Dreamer » 16.10.2022, 15:21

Thanks for the reply.

I'm using these specific options:
- Settings folder - following folder: "C:\Programs\!Misc\Settings\FreeCommander\Settings"
- Auto save settings - on exit
- Auto backup - Once per day
- Backup folder for settings: "%FcSrcDrive%\Programs\!Misc\Settings\FreeCommander\Settings\Backup"

Folder with the color scheme files is following: C:\Programs\!Misc\Settings\FreeCommander\Settings\ColorSchemes\
horst.epp wrote: 16.10.2022, 15:01No such problems here.
The deletion asks for confirmation and deletes the name.colors file successfully..
Just to make sure, the .colors file is not restored after you click the Color schemes toolbar button after FC restart, right?

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: 875 - Color scheme can't be deleted from the button menu

#4 Post by horst.epp » 16.10.2022, 15:29

Dreamer wrote: 16.10.2022, 15:21 Just to make sure, the .colors file is not restored after you click the Color schemes toolbar button after FC restart, right?
Yes, there is nothing restored on any FC restart.
Btw. I use a portable installion which makes the whole game much simpler.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

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

Re: 875 - Color scheme can't be deleted from the button menu

#5 Post by Dreamer » 16.10.2022, 16:11

OK, thanks.

I tested it in another portable instance and it works good there, so it must be one of these options:
- Settings folder - following folder: custom path, not the FC folder
- Auto backup - Once per day

If those options are disabled, it works good.

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: 875 - Color scheme can't be deleted from the button menu

#6 Post by Marek » 16.10.2022, 22:15

That's the reason:
- Settings folder - following folder: custom path, not the FC folder
When the color list is built, all colors from the install colors folder are copied to the user colors folder.
Otherwise you would never get the newly delivered colors.

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

Re: 875 - Color scheme can't be deleted from the button menu

#7 Post by Dreamer » 16.10.2022, 22:52

Thanks for the reply, so it's not a bug?

Where is that "user colors folder"?

Why not copy the new color scheme files to custom settings folder instead?

It's still the portable mode, so copying the new files manually could be OK too.

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: 875 - Color scheme can't be deleted from the button menu

#8 Post by Marek » 17.10.2022, 20:45

Where is that "user colors folder"?
In your case: C:\Programs\!Misc\Settings\FreeCommander\Settings\ColorSchemes
Why not copy the new color scheme files to custom settings folder instead?
In your case it is copied to "C:\Programs\!Misc\Settings\FreeCommander\Settings\ColorSchemes".

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

Re: 875 - Color scheme can't be deleted from the button menu

#9 Post by Dreamer » 17.10.2022, 21:22

OK, thanks, so it works vice versa, it is copied from the FC install folder settings folder to custom settings folder.

When I deleted the files from both locations it was deleted correctly.

It's not a bug, moved to Discussion.

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests