Summary: | Desktop Widgets end up below "AlwaysVisible" plasma panels on running but not current activities | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Michail Vourlakos <mvourlakos> |
Component: | Desktop Containment | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, marco, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.23.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/c3bccdf278f2d9cbf638e864fc478cb72d2d0db5 | Version Fixed In: | 5.90 |
Sentry Crash Report: |
Description
Michail Vourlakos
2021-11-14 16:47:03 UTC
function in question: https://github.com/KDE/plasma-workspace/blob/master/shell/shellcorona.cpp#L1823 these are the commits from Marco, the main guess is that the current activity check is used in for desktop containments to not lose their screen but is this still the case for plasma >= 5.23 ? https://github.com/KDE/plasma-workspace/commit/6970bc2fb70f37f9dafb1f1af738dd23f4ecaa99#diff-abd04578a6b0d06218a589b5899c920dc6a387c7c0f9667514bb1c7cb65857f1 https://github.com/KDE/plasma-workspace/commit/8e0068c64c192df23d5fe024e03896a951f55804#diff-abd04578a6b0d06218a589b5899c920dc6a387c7c0f9667514bb1c7cb65857f1 https://github.com/KDE/plasma-workspace/commit/2b9088606cd7db670b20b0bf56574788f8dbdc2b#diff-abd04578a6b0d06218a589b5899c920dc6a387c7c0f9667514bb1c7cb65857f1 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/390 Git commit c3bccdf278f2d9cbf638e864fc478cb72d2d0db5 by Nate Graham, on behalf of Michail Vourlakos. Committed on 13/12/2021 at 15:58. Pushed by ngraham into branch 'master'. fix availableScreenRect for applets/containments --when an applet or desktop containment is not in the current activity and requests ::availableScreenRect() value, Plasma::Corona decides to return as valid screenId: -1. That behavior can lead to applets going under plasma panels that have set visibility to AlwaysVisible. Such panels should always been taken into account when calculating the available screen geometry. M +5 -0 src/scriptengines/qml/plasmoid/appletinterface.cpp https://invent.kde.org/frameworks/plasma-framework/commit/c3bccdf278f2d9cbf638e864fc478cb72d2d0db5 |