Summary: | Screen resolution gains additional 1px on wayland with fractional scaling | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Denis Shiga <insanie> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 5.27.8 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.0 | |
Sentry Crash Report: |
Description
Denis Shiga
2024-02-09 15:37:54 UTC
The root cause is the same as Bug 480171, which has been investigated there and found to be a limitation in the upstream wayland protocol. It turns out unfortunately to be a somewhat complicated issue. Anyway, marking as a duplicate. *** This bug has been marked as a duplicate of bug 480171 *** I don't think this is a duplicate. While the same sort of coordinate system conversion is the most likely root cause, Xwayland scaling doesn't go through fractional-scale-v1, so this can be fixed. Bug 480171 isn't the one about XWayland. Interesting thing to note is that everything is perfectly fine if you go and change scaling from 100% to anything in a live session. It's upon session start where additional 1px appears - it seems like when it tries to recalc screen size from local configs it has slightly different algo rather that calculating screen size from env vars during session run. I can reproduce this bug in 5.27, but not in Plasma 6. So this is already fixed :) |