Bug 514461

Summary: automatic day/night theme bounces twice in the evening
Product: [Plasma] plasmashell Reporter: Jens <jens-bugs.kde.org>
Component: Day/night scheduleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal CC: kdedev, nate, vlad.zahorodnii
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jens 2026-01-11 16:40:28 UTC
SUMMARY:
I have automatic light/dark theme change on sunset enabled.
Just now I noticed that KDE switched to dark theme (at about 17:20), and then back to light theme, and then *again* back to the dark theme (at about 17:30). I'll watch this more closely if necessary and not a known issue yet.

Relevant log output from journalctl:

Jan 11 17:19:51 LinuxMini kded6[3004]: xsettingsd: Reloading configuration
Jan 11 17:19:51 LinuxMini kded6[3004]: xsettingsd: Loaded 16 settings from /home/jens/.config/xsettingsd/xsettingsd.conf
Jan 11 17:20:04 LinuxMini kded6[2677]: Failed to notify "Created too many similar notifications in quick succession"
Jan 11 17:20:05 LinuxMini kernel: audit: type=1107 audit(1768148405.691:195): pid=1049 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.10" mask="receive" pid=40253 label="snap.thunderbird.thunderbird" peer_pid=1087 peer_label="unconfined"
Jan 11 17:20:10 LinuxMini kded6[3004]: xsettingsd: Reloading configuration
Jan 11 17:20:10 LinuxMini kded6[3004]: xsettingsd: Loaded 16 settings from /home/jens/.config/xsettingsd/xsettingsd.conf
Jan 11 17:20:21 LinuxMini kernel: audit: type=1107 audit(1768148421.274:196): pid=1049 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.10" mask="receive" pid=40253 label="snap.thunderbird.thunderbird" peer_pid=1087 peer_label="unconfined"
Jan 11 17:22:08 LinuxMini kwin_wayland[2444]: Libinput: event15 - input-remapper Microsoft  Microsoft Basic Optical Mouse v2.0  forwarded: client bug: event processing lagging behind by 34ms, your system is too slow
Jan 11 17:23:23 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:23:23 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:23:23 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:23:23 LinuxMini kded6[3004]: xsettingsd: Reloading configuration
Jan 11 17:23:23 LinuxMini kded6[3004]: xsettingsd: Loaded 16 settings from /home/jens/.config/xsettingsd/xsettingsd.conf
Jan 11 17:26:07 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:26:07 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:26:07 LinuxMini thunderbird[40253]: WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
Jan 11 17:26:07 LinuxMini thunderbird[40253]: pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
Jan 11 17:26:07 LinuxMini thunderbird[40253]: _update/useDarkTheme<@resource://gre/modules/LightweightThemeConsumer.sys.mjs:289:36
Jan 11 17:26:07 LinuxMini thunderbird[40253]: _update@resource://gre/modules/LightweightThemeConsumer.sys.mjs:304:7
Jan 11 17:26:07 LinuxMini thunderbird[40253]: handleEvent@resource://gre/modules/LightweightThemeConsumer.sys.mjs:255:12
Jan 11 17:26:07 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:26:07 LinuxMini kded6[3004]: xsettingsd: Reloading configuration
Jan 11 17:26:07 LinuxMini kded6[3004]: xsettingsd: Loaded 16 settings from /home/jens/.config/xsettingsd/xsettingsd.conf
Jan 11 17:28:42 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:28:42 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:28:42 LinuxMini kwin_wayland[2444]: This plugin does not support setting window masks
Jan 11 17:28:42 LinuxMini kded6[3004]: xsettingsd: Reloading configuration
Jan 11 17:28:42 LinuxMini kded6[3004]: xsettingsd: Loaded 16 settings from /home/jens/.config/xsettingsd/xsettingsd.conf
Jan 11 17:33:41 LinuxMini kwin_wayland[2444]: Could not delete texture because no context is current

Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 8945HS w/ Radeon 780M Graphics
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics
Comment 1 Vlad Zahorodnii 2026-01-12 21:35:39 UTC
Can you put `QT_LOGGING_RULES="org.kde.plasma.lookandfeelautoswitcher.debug=true"` in `/etc/environment` or elsewhere so when Plasma starts, that environment variable is set?

To confirm that the debug logging is on, run `journalctl --boot --user-unit plasma-kded6`. You should see a line like

    org.kde.plasma.lookandfeelautoswitcher: Enabling automatic theme switching

when you see that the global theme unexpectedly switches back and forth, please post journalctl log here.
Comment 2 Vlad Zahorodnii 2026-01-12 21:36:46 UTC
> please post journalctl log here

i.e. `journalctl --boot --user-unit plasma-kded6`
Comment 3 TraceyC 2026-01-13 17:16:59 UTC
Setting status, since we're waiting on a reply