SUMMARY XWayland apps look very good, when I use only one monitor (Laptop's built-in monitor, 150% scaling). But when I use my laptop with a second monitor (Laptop's built-in monitor, 150% scaling + MSI (Primary), 100% Scaling) apps still look good on built-in monitor, but they look blurry on a second monitor, compared to what they look like when I disable built-in screen. STEPS TO REPRODUCE 1. Login to Plasma Wayland session, set laptop's built-in monitor scaling to 150%. 2. Re-login 3. Launch any XWayland app 4. Move it to the second monitor 5. Compare app's fonts with built-in monitor enabled and disabled OBSERVED RESULT Apps look blurry on the second monitor EXPECTED RESULT Apps look fine on the second monitor SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 23.04 (available in About System) KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION
Created attachment 161749 [details] VSCode with laptop's montor enabled
Created attachment 161750 [details] VSCode with laptop's montor disabled
Can't reproduce in Plasma 6.
Tried on Neon Unstable with P6. Same bug, still reproducible
In that case I am suspecting a problem in the Hidpi support in the apps themselves. Do the affected apps look better on X11 when you with a fractional global scale?
On x11 they look better, but x11 supports only global scale, and I need different scales for different screens
Hmm, Ok, then it's not a problem in the apps' own high DPI support. Can you open System Settings > Display and Monitor, scroll all the way to the bottom, take a screenshot of the window, and attach it here? Thanks!
Created attachment 161782 [details] screenshor 1
(In reply to Nate Graham from comment #7) > Hmm, Ok, then it's not a problem in the apps' own high DPI support. > > Can you open System Settings > Display and Monitor, scroll all the way to > the bottom, take a screenshot of the window, and attach it here? Thanks! Added
(In reply to Nate Graham from comment #7) > Hmm, Ok, then it's not a problem in the apps' own high DPI support. > > Can you open System Settings > Display and Monitor, scroll all the way to > the bottom, take a screenshot of the window, and attach it here? Thanks! Apply scaling themselves option gives very good-looking apps on laptop's monitor but slightly blurry on external one Scaled by the system gives very, very blurry apps on laptop's monitor and good-looking on external
It is expected that mixed scales on Xwayland will involve downscaling on one of the two screens. That's unfeasible to change. One option that might work for you is to edit .config/kwinrc and set: [Xwayland] Scale[$i]=2 combined with `Apply scaling themselves` It'll be downscaled on both monitors but from a much higher source which should hopefully look not blurry. Same as any GTK apps on those monitors.
Could we improve this by running a separate XWayland instance per screen or per process?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
*** Bug 477177 has been marked as a duplicate of this bug. ***
*** Bug 489077 has been marked as a duplicate of this bug. ***
*** Bug 491641 has been marked as a duplicate of this bug. ***
*** Bug 493479 has been marked as a duplicate of this bug. ***