Bug 503444

Summary: Timer widget command executed on login, hard to recover after trying shutdown -h now
Product: [Plasma] plasmashell Reporter: Serhiy <serhiy.int>
Component: Timer widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/5.27   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:

Description Serhiy 2025-04-27 20:55:47 UTC
SUMMARY
Timer widget executes command not only after it has been started manually but also on starting the Plasma session.

STEPS TO REPRODUCE
1. Add a timer widget to the desktop.
2. Set the command to be "shutdown -h now" or any other you are sure you will see being executed.
3. Start the timer with a couple of seconds, observe the command being executed.
4. Log out and log in back.

OBSERVED RESULT
The command is being executed on creating the widget.

EXPECTED RESULT
The command is not executed on creating the widget.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
It's a fully updated Kubuntu 24.04, sorry, no time to gather exact numbers as I'm already away from the system in question.
Comment 1 Nate Graham 2025-04-28 15:58:42 UTC
Cannot reproduce in current git master, so it looks like it's been fixed since somewhere between Plasma 5.27 and 6.4.