https://bugs.kde.org/show_bug.cgi?id=462930
Bug ID: 462930 Summary: With a vertical panel, System tray becomes vertically centered too aggressively Classification: Plasma Product: plasmashell Version: master Platform: Other OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: Panel Assignee: plasma-b...@kde.org Reporter: n...@kde.org CC: niccolo.venera...@gmail.com Target Milestone: 1.0 Created attachment 154511 --> https://bugs.kde.org/attachment.cgi?id=154511&action=edit Sometimes inappropriately vertically centered With the new behavior to center panel popups if they could be positioned in a centered position on the panel and still overlap their CompactRepresentation, the System Tray becomes vertically centered quite frequently when using a vertical panel and there are a lot of System Tray icons. See the attached screenshots. I think the issue is that the "I can center" calculation only requires that *any* of the CompactRepresentation be under/beside the popup to consider the popup center-able. This is fine when using a horizontal panel, and fine for widgets with small CompactRepresentations with a vertical panel. But the System Tray's CompactRepresentation becomes very large as it gets more icons, which increases the liklihood of inappropriately triggering "I can center" behavior. Conceivably the same issue could happen on a horizontal panel too with a sufficiently enormous set of System Tray icons. Less likely, but still possible. Potential ideas to resolve this: - If the popup could be positioned either centered or touching a screen edge, prefer the screen edge - Require that the *majority* of a widget's CompactRepresentation be under the popup when it's centered, not just any of it -- You are receiving this mail because: You are watching all bug changes.