Summary: | De-floated left screen edge floating panel panel has incorrect hover and click areas on its right side | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Nate Graham <nate> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, niccolo.venerandi |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/a2ab30ddce476aea5c6548b01c785f173396ea04 | Version Fixed In: | 6.0 |
Sentry Crash Report: | |||
Attachments: | Screen recording |
Description
Nate Graham
2024-01-17 00:22:43 UTC
Created attachment 164965 [details]
Screen recording
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3773 Git commit 21a1b654fe470437a4ff7954b370cf5a88a7c98d by Nate Graham, on behalf of David Redondo. Committed on 17/01/2024 at 18:45. Pushed by ngraham into branch 'master'. panelview: Set the actual mask on wayland QWindow::mask sets the input regio, since the window contents are shifted away from (0, 0) for top and left panels, setting the mask without offset made the input region cover only part of the panel. FIXED-IN:6.0 M +2 -2 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/21a1b654fe470437a4ff7954b370cf5a88a7c98d Git commit ca16336c4f0c849bef2eedae217395acc06062f4 by Nate Graham, on behalf of David Redondo. Committed on 17/01/2024 at 18:45. Pushed by ngraham into branch 'master'. panelview: Set the correct mask QWindow::mask sets the input regio, since the window contents are shifted away from (0, 0) for top and left panels, setting the mask without offset made the input region cover only part of the panel. Dont intersect the mask with the screenPane, it needs to be in window local coordinates, geometryByDistance returns a rect in global coordinates. FIXED-IN:6.0 M +2 -3 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/ca16336c4f0c849bef2eedae217395acc06062f4 Git commit 237baf154f0e862c7e8b729e7e798d57f20025db by Nate Graham, on behalf of David Redondo. Committed on 17/01/2024 at 19:16. Pushed by ngraham into branch 'Plasma/6.0'. panelview: Set the actual mask on wayland QWindow::mask sets the input regio, since the window contents are shifted away from (0, 0) for top and left panels, setting the mask without offset made the input region cover only part of the panel. FIXED-IN:6.0 (cherry picked from commit 21a1b654fe470437a4ff7954b370cf5a88a7c98d) M +2 -2 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/237baf154f0e862c7e8b729e7e798d57f20025db Git commit a2ab30ddce476aea5c6548b01c785f173396ea04 by Nate Graham, on behalf of David Redondo. Committed on 17/01/2024 at 19:16. Pushed by ngraham into branch 'Plasma/6.0'. panelview: Set the correct mask QWindow::mask sets the input regio, since the window contents are shifted away from (0, 0) for top and left panels, setting the mask without offset made the input region cover only part of the panel. Dont intersect the mask with the screenPane, it needs to be in window local coordinates, geometryByDistance returns a rect in global coordinates. FIXED-IN:6.0 (cherry picked from commit ca16336c4f0c849bef2eedae217395acc06062f4) M +2 -3 shell/panelview.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/a2ab30ddce476aea5c6548b01c785f173396ea04 |