Bug 452408 - Wayland - Text Scaling - Text distortion corrects itself after moving window from one monitor to the other, then back.
Summary: Wayland - Text Scaling - Text distortion corrects itself after moving window ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.24.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-08 16:20 UTC by Jeff
Modified: 2023-01-26 16:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
image showing text distortion, and text without distortion (268.48 KB, image/png)
2022-04-08 16:20 UTC, Jeff
Details
Partially-pixelated text strings, exhibit a (See "Night color") (29.08 KB, image/png)
2022-04-09 00:29 UTC, Nate Graham
Details
Partially-pixelated text strings, exhibit b (compare combobox text to other text) (30.56 KB, image/png)
2022-04-09 00:29 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2022-04-08 16:20:26 UTC
Created attachment 148050 [details]
image showing text distortion, and text without distortion

SUMMARY
Monitor A is scaled to 200%
Monitor B is scaled to 100%
Opening the system settings menu on Monitor B results in distorted text. Moving the window from Monitor B to Monitor A, and then back to Monitor B corrects the text distortion until a new settings tab is selected.

STEPS TO REPRODUCE
1. Start with two screens, Monitor A at 200% scale, Monitor B at 100% scale.
2. Open System Settings on Monitor B
3. Observe text distortion.
4. Move settings window from Monitor B to Monitor A
5. Observe text is displayed correctly.
6. Move settings window from Monitor A back to Monitor B
7. Observe text is displayed correctly.

OBSERVED RESULT
Text is distorted when the settings menu is used on Monitor B. After moving the settings menu from Monitor A to Monitor B the text is not distorted on Monitor B.

EXPECTED RESULT
No text distortion on Monitor B.

SOFTWARE/OS VERSIONS
Linux: 5.16.18-200.fc35.x86_64 
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
N/A
Comment 1 Nate Graham 2022-04-09 00:28:13 UTC
I can confirm this issue with a similar arrangement with one scaled screen and one unscaled screen. When you move the window between screens, the rendering changes seemingly from blocky pixelation to smooth pixelation.

Another funny thing happens for me: some text elements in affected windows will draw correctly, while others will remain pixelated!
Comment 2 Nate Graham 2022-04-09 00:29:05 UTC
Created attachment 148057 [details]
Partially-pixelated text strings, exhibit a (See "Night color")
Comment 3 Nate Graham 2022-04-09 00:29:42 UTC
Created attachment 148058 [details]
Partially-pixelated text strings, exhibit b (compare combobox text to other text)
Comment 4 David Edmundson 2023-01-26 16:04:57 UTC
This will be fixed in upstream Qt 6.5