Summary: | Bottom Plasma panel and desktop are not fully adjacent to screen border (1 pixel on the right and bottom) when PLASMA_USE_QT_SCALING=1 is set on X11 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | yourik |
Component: | general | Assignee: | veggero <niccolo.venerandi> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | abrouwers, iamgrief, kde, kde, mvourlakos, nate, niccolo.venerandi, plasma-bugs, postix, qydwhotmail, roman, zenzero269 |
Priority: | NOR | Keywords: | multiscreen, regression, usability |
Version: | 5.18.5 | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=428895 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 356446 | ||
Attachments: |
This is a screenshot of the screen region containing the right-aligned panel. Please note the 1px margin on the right side that should not be there
Screenshot |
Created attachment 129610 [details] Screenshot I can confirm. In my case it's not just the panel, either; the entire desktop area is shifted by one pixel (or two pixels in my case with a 4k screen and 200%+ scale factor). You can see this easily by using a plain white background and dragging a window off-screen. See the attached screenshot. This is quite annoying as it breaks Fitts' law for the bottom-right corner. Before anyone asks, I don't have a right side Touch Screen Edge set (which would make this similar to or a duplicate of Bug 387775) FWIW I also see this with the bottom screen edge, not just the right one. *** Bug 434315 has been marked as a duplicate of this bug. *** With the new margins feature in Plasma 5.21, this has changed slightly: task Manager applets on a bottom panel now respect Fitts' law for me, but not other applets. I feel like the bug is in the margin handling and click forwarding code. Niccolò, since you're pretty familiar with this now, could you take a look? Also bumping to HI since breaking Fitts' law always annoys users and generates duplicate bug reports. This is caused by using Qt scaling on X11, which is not supported and is known to cause this kind of bug. Sooooo don't do it. :) If you have PLASMA_USE_QT_SCALING=1 set in your environment, unsetting it should fix the problem. Re-opening since the blocked bug is also re-opened and we may want to do it after all. Could be similar to Bug 428895. The thing this is a blocker for (Bug 356446) is closed now, and doing this was never supported anyway. Unfortunately I think we have to close this. Folks who want a decent hidpi experience will have to use Wayland and look forward to upcoming changes to improve the experience for XWayland apps in particular. Sorry everyone. :( Can reproduce at 150% scale. *** Bug 428109 has been marked as a duplicate of this bug. *** (In reply to Nate Graham from comment #7) > Unfortunately I think we have to close this. Folks who want a decent hidpi > experience will have to use Wayland and look forward to upcoming changes to > improve the experience for XWayland apps in particular. > > Sorry everyone. :( I doubt it's fair to recommend wayland when this page is not empty: https://community.kde.org/Plasma/Wayland_Showstoppers Hidpi support under wayland is even worse than under x11. *** Bug 461473 has been marked as a duplicate of this bug. *** Re-opening as I can reproduce on Wayland too and assigning it to me Since this bug report ended up being modified to be about the bug "Bottom Plasma panel and desktop are not fully adjacent to screen border (1 pixel on the right and bottom) when PLASMA_USE_QT_SCALING=1 is set on X11", I'm closing this again to move the discussion to the new 461473 that has the correct title; yourik@live.de please refer to that bug instead of this one. *** Bug 463495 has been marked as a duplicate of this bug. *** Re-opening as the original issue is still happening, and becoming more common now since QT scaling is on by default for X11 in Plasma 6. *** Bug 482683 has been marked as a duplicate of this bug. *** I see a similar issue, occasionally, on wayland + plasma 6. I'm at 150% scaling, and this will happen sporadically. Restarting the desktop fixes it, but it'll eventually come back (after some yet-to-be-determined action occurs). This bug report is about X11; please open a new one to track the issue on Wayland. *** Bug 493722 has been marked as a duplicate of this bug. *** |
Created attachment 129600 [details] This is a screenshot of the screen region containing the right-aligned panel. Please note the 1px margin on the right side that should not be there SUMMARY The right aligned panel does not fully touch the right screen edge but there is actually a 1px line between the panel and the screen edge, which lets the wallpaper shine through and also means a button positioned to the right-most on the panel is not clicked when clicking the lower right corner of the screen. STEPS TO REPRODUCE 1. Start with a desktop with no panel on the bottom of the screen. 2. Add a panel to the bottom screen edge 3. Set the panel alignment to "right" with right click -> edit panel -> more settings 4. Pull the width to less than maximized, e.g. just half of the screen. (5.) Choose a contrasting wallpaper image to make the result more visible. OBSERVED RESULT There is now a 1px line between the right-aligned panel and the right screen edge. EXPECTED RESULT The panel should be fully adjacent to the right screen edge without a border or margin inbetween. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro Linux KDE (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.1 Qt Version: 5.15.0 ADDITIONAL INFORMATION I'm using Manjaro Linux with KDE plasma and have multiple panels on the bottom of the screen for a specific look and feel. One of the panels is center-aligned, one is left-aligned and another is right-aligned.