Summary: | Some Panel popups inappropriately centered with small non-maximized panel | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | musicatomasperez |
Component: | libplasma | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | me, nate, niccolo.venerandi, notmart |
Priority: | NOR | Keywords: | regression |
Version: | 5.102.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=464740 | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/1e0042c750756d0963d11d125978f47ea830d495 | Version Fixed In: | 5.103 |
Attachments: | misaligned menu |
Description
musicatomasperez
2023-01-19 17:24:07 UTC
Looks like another edge case, like Bug 462930. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/689 Git commit eda6caabcffff484544af8949d0ca0a3ea3ce333 by Nate Graham, on behalf of Niccolò Venerandi. Committed on 31/01/2023 at 20:25. Pushed by ngraham into branch 'master'. Dialog: Fix calculation of distance between dialog and parent applet `ParentRect` is not using the same coordinate system as `dialogPos` and `avail`, which could result in incorrect placement of dialogs when you have e.g. multiple monitors or a non-maximized panel. This replaces `ParentRect` with `dialogPos` so the coordinate systems remain in sync. Related: bug 464201 FIXED-IN: 5.103 M +2 -2 src/plasmaquick/dialog.cpp https://invent.kde.org/frameworks/plasma-framework/commit/eda6caabcffff484544af8949d0ca0a3ea3ce333 Git commit 1e0042c750756d0963d11d125978f47ea830d495 by Nate Graham, on behalf of Niccolò Venerandi. Committed on 31/01/2023 at 20:45. Pushed by ngraham into branch 'cherry-pick-eda6caab'. Dialog: Fix calculation of distance between dialog and parent applet `ParentRect` is not using the same coordinate system as `dialogPos` and `avail`, which could result in incorrect placement of dialogs when you have e.g. multiple monitors or a non-maximized panel. This replaces `ParentRect` with `dialogPos` so the coordinate systems remain in sync. Related: bug 464201 FIXED-IN: 5.103 (cherry picked from commit eda6caabcffff484544af8949d0ca0a3ea3ce333) M +2 -2 src/plasmaquick/dialog.cpp https://invent.kde.org/frameworks/plasma-framework/commit/1e0042c750756d0963d11d125978f47ea830d495 |