plasma-theme-switcher icon indicating copy to clipboard operation
plasma-theme-switcher copied to clipboard

Problem in DBus signaling on Plasma 5.21

Open NyaomiDEV opened this issue 3 years ago • 7 comments

% plasma-theme -c $HOME/.local/share/color-schemes/colors-kde.colors     
QDBusConnection: error: could not send signal to service "" path "//home/naomi/.config/kdeglobals" interface "org.kde.kconfig.notify" member "ConfigChanged": Invalid object path: //home/naomi/.config/kdeglobals

Using the release binary. It seems that the only not updated parts are the window decorations, though.

NyaomiDEV avatar Apr 02 '21 13:04 NyaomiDEV

Hi. Thanks for reporting this. The part that notifies KWin of the colorscheme change has been broken since Plasma 5.20. I'll look into fixing it.

maldoinc avatar Apr 04 '21 14:04 maldoinc

I just assumed the qdbus signal signature was changed, did not look into it. There's also the title bar color not updating which someone linked here from a different project so I'll look into that as well and release a fix.

maldoinc avatar Aug 11 '21 16:08 maldoinc

I get the same problem with Koi https://github.com/baduhai/Koi

taprobane99 avatar Aug 13 '21 22:08 taprobane99

I get the same problem with Koi https://github.com/baduhai/Koi

Hi!, I'm the developer of Koi, and I just came here looking for a solution for this. Koi makes use of krdb for notifying KWin of changes, and it since I am getting the same error, it seems that the bug is in fact, in upstream.

baduhai avatar Aug 28 '21 12:08 baduhai

We still without a solution on that?

Simple theme switcher on KDE it's a must!

satonotdead avatar May 25 '22 16:05 satonotdead

I've fixed it recently on my program, feel free to have a look through the code for the solution.

baduhai avatar May 25 '22 16:05 baduhai

For theme switching actually there's now the plasma-apply-colorscheme command which does what you'd expect it to. So the only features this tool offers is toggling and widgets. Given that, maybe it's time for me to archive this as the main feature is built upstream.

maldoinc avatar May 25 '22 16:05 maldoinc