Summary: | 'Switch alternatives' forcibly moves widgets | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | David <david.cortes.rivera> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kinofhek, mcpain, nate, niccolo.venerandi |
Priority: | NOR | ||
Version: | 5.23.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/a47ead6339eb516a2d84a102088eb380ae118c8d | Version Fixed In: | 5.23.3 |
Sentry Crash Report: |
Description
David
2021-10-20 01:45:31 UTC
Yes, I can reproduce this. It didn't used to; seems like a regression. Quite annoying. FWIW this also happens to me on 5.22.5 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/627 Git commit d0479b98b0f0c650e8b57fb5bfba30689b1d80b4 by Nate Graham, on behalf of Alexander Lohnau. Committed on 03/11/2021 at 16:48. Pushed by ngraham into branch 'master'. DRAFT: Fix issues with LayoutManager.insertAtCoordinates The spacing must be multiplied by two in order to get the correct position M +8 -3 containments/panel/contents/ui/LayoutManager.js https://invent.kde.org/plasma/plasma-desktop/commit/d0479b98b0f0c650e8b57fb5bfba30689b1d80b4 Git commit a47ead6339eb516a2d84a102088eb380ae118c8d by Nate Graham, on behalf of Alexander Lohnau. Committed on 03/11/2021 at 16:50. Pushed by ngraham into branch 'Plasma/5.23'. DRAFT: Fix issues with LayoutManager.insertAtCoordinates The spacing must be multiplied by two in order to get the correct position (cherry picked from commit d0479b98b0f0c650e8b57fb5bfba30689b1d80b4) M +8 -3 containments/panel/contents/ui/LayoutManager.js https://invent.kde.org/plasma/plasma-desktop/commit/a47ead6339eb516a2d84a102088eb380ae118c8d Fix of this bug causes regression: leftmost widgets are moved to the right. UPD: @ngraham I think your fix was wrong. If widget.width == 0 then widget.x == 0 (QML bug?) and our candidate is inserted after it. Can you submit a merge request? |