easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

Colorscheme saved at `$XDG_CONFIG_HOME/easyeffectsrc` instead inside of `$XDG_CONFIG_HOME/easyeffects` dir

Open Jorenar opened this issue 2 weeks ago • 4 comments

EasyEffects Version

8.0.6

What package are you using?

Arch (easyeffects)

Distribution

Arch Linux

Describe the bug

Colorscheme setting is saved outside easyeffects directory

Expected Behavior

The setting is saved in $XDG_CONFIG_HOME/easyeffects/easyeffectsrc file

Alternatively $XDG_CONFIG_HOME/easyeffects/db/easyeffectsrc (but it would be better to rather move the rest of persistent settings outside of db/ dir, instead of moving more in).

Debug Log

Debug Log
Paste your log here

Additional Information

No response

Jorenar avatar Dec 08 '25 02:12 Jorenar

In order to save the selected color scheme we are using KColorSchemeManager autosave https://github.com/wwmm/easyeffects/blob/4d4729500f01d0e598d645ab6e50be76b48b390d/src/kcolor_manager.cpp#L25. KDE color manager is the one creating the $XDG_CONFIG_HOME/easyeffects/easyeffectsrc file.

Although it is possible to disable the autosave and trying to manage this from our side theme/color management seems to fragile and too different from one desktop to another to take the risk of inserting one more possible source of problems. It is probably better to let KColorSchemeManager saving this property state. It knows better than us what is really the default theme or not.

wwmm avatar Dec 08 '25 03:12 wwmm

KDE color manager is the one creating the $XDG_CONFIG_HOME/easyeffects/easyeffectsrc file.

The problem is that it saves it not inside the EasyEffects' config directory, but in $XDG_CONFIG_HOME/easyeffectsrc

Jorenar avatar Dec 08 '25 03:12 Jorenar

The problem is that it saves it not inside the EasyEffects' config directory, but in $XDG_CONFIG_HOME/easyeffectsrc

I've noticed it. But I am not sure if it allows the path to be customized. It seems we either accept that or go full manual mode instead of the autosave.

wwmm avatar Dec 08 '25 03:12 wwmm

Eh, to my disappointment (but not much surprise looking at other KDE apps), I wasn't able to find any straightforward way to adjust the path...

Jorenar avatar Dec 10 '25 13:12 Jorenar