Bug 408762

Summary: Kicker and Kick Off don't respect panel edge.
Product: [Plasma] plasmashell Reporter: psymole <trujillo.a>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kossebau, schwille
Priority: NOR    
Version: 5.16.0   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.16.1
Sentry Crash Report:
Attachments: Screenshot of issue. Notice Menu.

Description psymole 2019-06-16 00:18:22 UTC
Created attachment 120904 [details]
Screenshot of issue. Notice Menu.

SUMMARY
Applets with menus have their menu's extending past the edge of the panel. 

STEPS TO REPRODUCE
1. Set a regular PLasma panel. 
2. Make the panel's height (if vertical) or width (if horizontal) less than 100%
3. Add kicker or Kick Off to panel placed on either edge.

OBSERVED RESULT
The menu window extends past the edge of the panel.
Picture Attached.

EXPECTED RESULT
Menu should be aligned with edge of the panel. That was the behavior in 5.14

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

First bug. Very Willing to help.
Comment 1 Friedrich W. H. Kossebau 2019-06-16 05:28:22 UTC
This bug is result of panels now (Plasma 5.16) having masks, and thus breaking the back introduced with https://phabricator.kde.org/R242:6aedda94b27a3ac60176dce960484af3f7787c07

For more details see https://phabricator.kde.org/T10889 (still needs someone to pick up and find/implement a solution satisfying both Plasma panels & Latte dock, will not be me)
Comment 2 Friedrich W. H. Kossebau 2019-06-16 12:34:07 UTC
As side-effect of https://phabricator.kde.org/R120:f65a0eee09dabc66d9d7acf6ddda6bcb03888794 this restores the heuristic condition tested by https://phabricator.kde.org/R242:6aedda94b27a3ac60176dce960484af3f7787c07 (panels have no mask set on the window itself), so the reported behaviour change is gone again starting with Plasma 5.16.1. As also tested myself with current branch.
Thus closing this bug as resolved.

Principal issue still exists, that heuristic is fragile and might break again any next time. So someone(tm) please consider working on https://phabricator.kde.org/T10889 :)
Comment 3 Patrick Silva 2019-07-14 21:18:50 UTC
*** Bug 408873 has been marked as a duplicate of this bug. ***