Bug 511740 - Panel and applets do not change theme automatically when session is ended before day/night transition completes
Summary: Panel and applets do not change theme automatically when session is ended bef...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Day/night schedule (other bugs)
Version First Reported In: 6.5.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 00:20 UTC by Braelin Michelus
Modified: 2026-02-12 10:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Example of broken ui, half breeze dark half breeze light (173.96 KB, image/png)
2026-02-12 10:09 UTC, Domenico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Braelin Michelus 2025-11-07 00:20:19 UTC
SUMMARY

Automatic theme switching mostly does work, but the panel and its associated widgets will get stuck in the opposite color scheme when the session is ended (via shutdown, restart, or logout) before the transition is completed. Windows are set to the proper color scheme. The effect basically looks like Breeze Twilight, but my color schemes are Breeze Light and Breeze Dark, respectively. Restarting plasma-kded6 temporarily fixes the problem, until the cycle restarts.

STEPS TO REPRODUCE
1. Enable automatic day-night theme switching
2. Wait until theme transition begins
3. End the session before the transition completes

OBSERVED RESULT

Upon login, windows are the proper color scheme, the panel and its widgets are not

EXPECTED RESULT

Both the windows and the panel and its widgets should be the same, proper color scheme based on the day/night cycle

SOFTWARE/OS VERSIONS
Operating System: EmilicOS Linux
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Graphics Platform: Wayland
Graphics Processor: AMD Radeon Graphics
Comment 1 Vlad Zahorodnii 2025-11-07 07:36:28 UTC
Can you please clarify steps to reproduce? So, say the transition starts at 6:00PM and ends at 6:30PM, if you reboot somewhere between 6:00-6:30PM, your computer is stuck with the wrong theme until the next transition?
Comment 2 Braelin Michelus 2025-11-10 04:03:57 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Can you please clarify steps to reproduce? So, say the transition starts at
> 6:00PM and ends at 6:30PM, if you reboot somewhere between 6:00-6:30PM, your
> computer is stuck with the wrong theme until the next transition?

Sorry for the miscommunication, this is a bit of a difficult one to explain.
Anyway, you are correct.

If the transition begins at 6:00PM and ends at 6:30PM, if I reboot at any point
before the transition is complete, the panel and its applets will remain in the
light theme, while windows will correctly use the dark theme.

Let's say the day-night transition begins at 6:00PM. I shut down my computer at 6:28PM.
I boot my computer again at 7:00PM, the panel and its applets will have the light theme, while windows will have the dark theme.
Comment 3 Domenico 2026-02-12 10:09:45 UTC
Created attachment 189485 [details]
Example of broken ui, half breeze dark half breeze light
Comment 4 Domenico 2026-02-12 10:14:10 UTC
I'm experiencing the same behavior. It occurs when I suspend the laptop at night and then wake it up in the morning.

STEPS TO REPRODUCE:
1) Suspend the system while the dark theme is active.
2) Wake up the system after the scheduled hours when the light theme should be applied.

Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.8-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 40 GiB of RAM (37.0 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82KU
System Version: IdeaPad 3 15ALC6