Bug 500401 - plasma-kded6.service will not be restarted when crashed unless user restart it manually or re-login
Summary: plasma-kded6.service will not be restarted when crashed unless user restart i...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kded
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.10.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-19 12:47 UTC by BryanLiang
Modified: 2025-02-20 09:46 UTC (History)
2 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 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.