Output presets on taskbar don't update
EasyEffects Version
8.0.6
What package are you using?
Flatpak (Flathub)
Distribution
Bazzite 43
Describe the bug
When I right click the taskbar icon the Output Presets aren't updated with any changes I make to naming or deleted presets. Only newly created presets are added. Restarting Easy Effects/rebooting didn't fix it.
Screenshots: https://www.dropbox.com/scl/fi/yh5zaj70cvfc7eezz0sn1/Screenshot_20251209_233123.png?rlkey=og4d5zc2a16mfj35j6yka4w6k&st=btzt4inf&dl=0 https://www.dropbox.com/scl/fi/39pzuovwmf82srv2k8a64/Screenshot_20251209_233131.png?rlkey=j3un63kq25s0wwx8u3m6usbh2&st=k23gnskz&dl=0
Expected Behavior
"Music No Bass" should have been deleted from the right click menu presets
Debug Log
Debug Log
Paste your log here
Additional Information
KDE Plasma v6.5.3 KDE Frameworks v6.20.0
Hum... Strange. When I delete one of the presets shown by the tray icon menu it is removed from there immediately.
But I am not using the Flatpak package. I use a custom Arch Linux package. But I honestly do not see how flatpak's sandbox could be a problem in this case.
Renaming the file does not remove the preset from the tray menu list indeed. But so far deleting the preset is doing it on my computer.
I think I've found the source of the problem. The bug happens when two or more presets have names that start with the same characters like Music No Bass and Music No Sub.
I've changed the code that updates the most used presets list. It should be fine now. I will probably make a bugfix release this week. Until this happens try to avoid preset names that starts with the same string.