| Summary: | KWin titlebar and Xwayland window contents are blurry on certain screen coordinates when fractional scaling is enabled | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | egor21312 |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 1gsiqkbz, ahiemstra, aleixpol, kde, nate, uwu, ye.jingchen |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | 5.26.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=460573 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Picture demonstrating the blurriness on the KWin titlebar in contrast to System Settings app contents (in both cases Wayland 125% scale is used)
crisp title bar with window closer to 200% screen blurry title bar with window closer to 150% screen |
||
|
Description
egor21312
2022-07-18 12:34:31 UTC
Created attachment 150705 [details]
Picture demonstrating the blurriness on the KWin titlebar in contrast to System Settings app contents (in both cases Wayland 125% scale is used)
Can confirm this still happens on KDE Plasma 5.26.2, with KF 5.99 and Qt 5.15.6, on Arch Linux. This behavior is more obvious when using two monitors: one with 200% integer scaling, the other fractional (e.g. 150%), and put the window across the screen border, with the title bar visible on both sides. When the window is closer to the 200% screen, title bar is pixel sharp (including text, app icon and control buttons) on the 200% screen, and a little bit blurry due to scaling on the 150% screen (which is normal); However, if the window is moved closer to the 150% screen, title bar suddenly become blurry even on the 200% screen, and more blurry on the 150% screen, more blurry than it was when window is closer to 200% screen. When moved back closer to 200% screen, title bar become crisp again. The window content is identical in two scenarios above, that is it didn't become more blurry or more crisp when title bar blurriness changes. Created attachment 153324 [details]
crisp title bar with window closer to 200% screen
Created attachment 153325 [details]
blurry title bar with window closer to 150% screen
Possibly Bug 460573? Or related to it? (In reply to Nate Graham from comment #5) > Possibly Bug 460573? Or related to it? Doesn't seem like the same problem, as I don't see difference between window content, only the title bar is blurry. However the blurry title bar does seems a bit clearer when maximized, though it's hard to tell whether it's the title bar really changing, or just some scaling artifact disappeared. Please confirm if this is still an issue on Plasma 5.27, changes were made to this. I can confirm that this is still an issue in Plasma 5.27 This still happens on Plasma 5.27.2: titlebar becoming sharp or blurry depending on window being closer to integer-scaled or fractional-scaled screens. We can track window title issues here: 467179 The xwayland side is fixed, so I'll close this MR |