| Summary: | [wayland] setting some fractional scaling values causes screens to have a subpixel gap between them | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Oded Arbel <oded> |
| Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | akselmo, nate |
| Priority: | NOR | Keywords: | multiscreen |
| Version First Reported In: | 6.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | screenshot showing the problem | ||
|
Description
Oded Arbel
2024-07-04 15:15:10 UTC
Created attachment 178137 [details]
screenshot showing the problem
Here is a screen cast showing the problem on a set of UHD vertical screens at 135% scaling.
(In reply to Oded Arbel from comment #1) > Created attachment 178137 [details] > screenshot showing the problem > > Here is a screen cast showing the problem on a set of UHD vertical screens > at 135% scaling. Sorry, forgot to mention - on Plasma 6.3 beta: Operating System: KDE neon Testing Edition KDE Plasma Version: 6.2.90 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.8.0-52-generic (64-bit) Graphics Platform: Wayland Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 31.0 GiB of RAM Graphics Processor: Intel® Graphics I'm using ultrawide monitor using Picture-beside-picture mode, and it seems that scaling below 100% does indeed cause the keyboard shortcut to break. Works: - Left half using DP cable, resolution 1720x1440, scaling 125% - Right half using HDMI cable, resolution 1720x1440, scaling 100% Breaks: - Left half using DP cable, resolution 1720x1440, scaling 90% - Right half using HDMI cable, resolution 1720x1440, scaling 100% Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.80 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 Kernel Version: 6.15.0-61.fc43.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 16 GiB of RAM (15.5 GiB usable) Graphics Processor: AMD Radeon RX 6600 (In reply to Akseli Lahtinen from comment #3) > I'm using ultrawide monitor using Picture-beside-picture mode, and it seems > that scaling below 100% does indeed cause the keyboard shortcut to break. > > Works: > - Left half using DP cable, resolution 1720x1440, scaling 125% > - Right half using HDMI cable, resolution 1720x1440, scaling 100% > > Breaks: > - Left half using DP cable, resolution 1720x1440, scaling 90% > - Right half using HDMI cable, resolution 1720x1440, scaling 100% > > Operating System: Fedora Linux 42 > KDE Plasma Version: 6.4.80 > KDE Frameworks Version: 6.16.0 > Qt Version: 6.9.1 > Kernel Version: 6.15.0-61.fc43.x86_64 (64-bit) > Graphics Platform: Wayland > Processors: 12 × AMD Ryzen 5 3600 6-Core Processor > Memory: 16 GiB of RAM (15.5 GiB usable) > Graphics Processor: AMD Radeon RX 6600 Derp, never mind, I was using custom tiling shortcut.... It works for me in both cases using regular tiling shortcuts. Do you still have this issue? (In reply to Akseli Lahtinen from comment #4) > > Breaks: > > - Left half using DP cable, resolution 1720x1440, scaling 90% > > - Right half using HDMI cable, resolution 1720x1440, scaling 100% > > Derp, never mind... > > Do you still have this issue? So, 1720 at 90% is still a full pixel - the right screen will be at a logical X of 1548. I can reproduce the issue if the left screen has a fractional pixel size where the fractional part is less than 0.5, where the next screen to the right is positioned without overlapping on the next pixel boundary - leaving a gap of more than 0.5 pixels. To reproduce, set your left screen of physical width 1720 to a scaling of 0.86 (you can't do that with the UI - you need to use the kscreen-doctor command as I've explained in the bug description). That would cause a logical width of 1479.2 pixels, which should trigger the problematic behavior. 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! Oded, can you paste the output of `kscreen-doctor -o` when it's in this state? |