SUMMARY Night Color mode can't be toggled after KWin crash (or restart) until Plasma shell is also restarted. STEPS TO REPRODUCE 1. Enable Night Color effect in System Settings, and turn it on. An icon should appear in system tray. 2. Crash KWin (it's easier than you think), or if you are not up to playing villain's role just restart it via systemctl. 3. Night Color Control applet's tooltip now says "Night Control is unavailable". Clicking it does nothing. 4. Restart plasmashell process. 5. Observe that applet is active and once again works as expected. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE: git-master Qt Version: 5.15.7 Kernel Version: 6.0.9-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2 Manufacturer: ASUSTeK COMPUTER INC. Product Name: G752VT System Version: 1.0
Can reproduce the issue with plain Rust & dbus-rs code. Trying to GetAll as soon as QDBusServiceWatcher::serviceRegistered happens results in this: Error: D-Bus error: No such object path '/ColorCorrect' (org.freedesktop.DBus.Error.UnknownObject) Basically, ColorCorrect is not yet initialized at the time of query. But if I add 0,5 second sleep, then it works.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/280
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3251
*** This bug has been marked as a duplicate of bug 428854 ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3253