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: 2025-12-12 16:49 UTC (History)
3 users (show)

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


Attachments

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.