Summary: | Maximizing centered panel is 1px off and expands to another screen | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Martin Klapetek <mklapetek> |
Component: | Panel | Assignee: | David Edmundson <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aelspire, aleixpol |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot |
For the record, still happens with freshly build code. An interesting observation - switching to Left alignment aligns the panel with the left edge of the screen properly and the strut from the other screen goes away, switching back to Center makes it off by 1 px again. Also as can be seen on the initial screenshot, the panel is actually not touching the screenedge on the right side (when centered+maximized). I can confirm this bug on Arch Linux x86_64 with plasma-next 5.1.0.1-1. I have panel vertically on right side, still Left alignment works good and any other is off by 1 px. Can you confirm it's still happening for you? I cannot reproduce it anymore. Fixed in master for sure. |
Created attachment 88927 [details] Screenshot Steps to reproduce: 1) Center align panel 2) Make it smaller 3) Maximize it Results: The panel is 1px short at the right edge and 1px too much on the left edge, in multi-screen setup this causes the other screen to have a screen-wide strut set for the bottom edge, leaving a strip of unusable space on the other screen. See screenshot. Expected results: Panel should be maximized only on the current screen and not overlap to the other.