Bug 500401

Summary: plasma-kded6.service will not be restarted when crashed unless user restart it manually or re-login
Product: [Frameworks and Libraries] frameworks-kded Reporter: BryanLiang <liangrui.ch>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 6.10.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description BryanLiang 2025-02-19 12:47:54 UTC
SUMMARY
As title

Split from https://bugs.kde.org/show_bug.cgi?id=495783

It seems that the plasma-kded6.service will not be restarted when crashed unless user restart it manually or re-login according to its service file. plasma-kde6 stops unexpectedly will make all the 3rd application like solaar, keepassxc tray not visable. I think it is important to add something like `Restart=on-failure` to make it restart automatically when crash.


STEPS TO REPRODUCE
No

OBSERVED RESULT
kded6 will not restart if crashed.

EXPECTED RESULT
kded6 restart automatically.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.6.72-x64v3-xanmod1-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics


ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-02-19 21:59:48 UTC
Good catch. Would you like to submit a patch doing that?
Comment 2 BryanLiang 2025-02-20 03:14:04 UTC
I submitted a merge request just now https://invent.kde.org/frameworks/kded/-/merge_requests/57.
Comment 3 BryanLiang 2025-02-20 09:46:52 UTC
I decide to close the issue as RESOLVED FIXED as the patch has been merged.