| Summary: | Give each widget its own process so widgets can't cause plasmashell to hang or crash | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Puspam Adak <puspitaadak9876> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | CC: | kde, nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Puspam Adak
2023-01-17 12:29:47 UTC
Right now, widgets get run by the main plasmashell process. We could potentially improve this by giving each widget its own thread. Then a widget couldn't hang or crash plasmashell. Different threads don't help at all with crashing. A crash in any thread will cause the whole thing to crash. We would need different processes for that. It's probably doable, but with a significant cost, both in terms of complexity and resource usage. So it may not be worth it Thanks for the clarification! (In reply to Nicolas Fella from comment #2) > Different threads don't help at all with crashing. A crash in any thread > will cause the whole thing to crash. > > We would need different processes for that. It's probably doable, but with a > significant cost, both in terms of complexity and resource usage. So it may > not be worth it I agree that separate threads won't help during a crash, but it will surely help to improve the responsiveness in general. It can prevent hanging the whole thing if 1 widget hangs for any reason. *** This bug has been marked as a duplicate of bug 454539 *** |