SUMMARY System Settings is not emitting `org.freedesktop.portal.Settings.SettingChanged` when switching to Breeze Light. STEPS TO REPRODUCE 1. Open QDBusViewer and connect to `org.freedesktop.portal.Settings.SettingChanged`. 2. Switch to either Breeze Dark or Breeze (Breeze Classic), you should see a signal being emitted. 3. Switch to Breeze Light. OBSERVED RESULT Changing color scheme to Breeze Light doesn't emit `org.freedesktop.portal.Settings.SettingChanged` signal. EXPECTED RESULT Settings should emit a signal to `org.freedesktop.portal.Settings.SettingChanged` when switching to Breeze Light. Some apps are unable to determine which theme to apply because of this. ie. Telegram Desktop. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux kernel 5.16.2 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
This signal is supposed to be emitted when changing the *color scheme*, not the *Plasma theme*. The Plasma theme applies only to Plasma itself, so it would not be appropriate for it to notify apps of any changes. Can you confirm whether you are trying to change the color scheme, the Plasma theme, or the Global theme?
(In reply to Nate Graham from comment #1) > This signal is supposed to be emitted when changing the *color scheme*, not > the *Plasma theme*. The Plasma theme applies only to Plasma itself, so it > would not be appropriate for it to notify apps of any changes. > > Can you confirm whether you are trying to change the color scheme, the > Plasma theme, or the Global theme? Yes, I'm talking about the color scheme, not the plasma theme.
Thanks. Can confirm that.
As far as I can tell we do that already: dbus-monitor interface="org.freedesktop.portal.Settings": signal time=1671307403.854036 sender=:1.15 -> destination=(null destination) serial=3182 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Settings; member=SettingChanged string "org.freedesktop.appearance" string "color-scheme" variant uint32 2 What's missing or wrong there?
> KDE Plasma Version: 5.23.5 Support for org.freedesktop.appearance was added in Plasma 5.24
Boom! Thanks for following up, Nico.