Summary: | [wayland] Overview Effect Calculator Sometimes Shows "aborted" on some/all displays, usually on first calculation of the session | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Eamonn Rea <eamonnrea> |
Component: | calculator | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | ASSIGNED --- | ||
Severity: | crash | CC: | alexander.lohnau, natalie_clarius, nate, postix |
Priority: | NOR | Keywords: | qt6 |
Version: | 6.0.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eamonn Rea
2024-03-10 18:14:32 UTC
Does the issue ever happen with only a single screen? I wonder if we could be running into a libqalculate threading issue here. I have a patch locally that should fix it lying around for some weeks now :D I will need to give it some proper multi-monitor testing.
>I wonder if we could be running into a libqalculate threading issue here.
That is correct. We have two RunnerManagers and thus plugins we feed at the /exact/ same time with the query string.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/krunner/-/merge_requests/178 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5707 Git commit 0b406dcc0179642e70d9acb5b73a8b408a97847e by Alexander Lohnau. Committed on 26/11/2024 at 20:25. Pushed by alex into branch 'master'. Allow to set RunnerManager instance in model from outside This allows for reusing the manager instances or keeping them separate from the lifecycle of the model. A usecase if KWin, where we want to have the Milou.ResultView on different screens, but still want to keep the query and thus datasource in sync. Otherwise, we would do the exact same queries twice and in case of the calculator get slight issues with the global mutex. M +9 -0 src/model/resultsmodel.cpp M +5 -1 src/model/resultsmodel.h M +11 -4 src/model/runnerresultsmodel.cpp M +4 -1 src/model/runnerresultsmodel_p.h https://invent.kde.org/frameworks/krunner/-/commit/0b406dcc0179642e70d9acb5b73a8b408a97847e |