Bug 433416 - Plasmashell blurry after changing display scaling in Wayland session
Summary: Plasmashell blurry after changing display scaling in Wayland session
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 412118 442437 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-22 07:32 UTC by phrxmd
Modified: 2022-06-15 10:25 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KDE Plasma 5.21 screenshot: crisp Firefox and KCalc windows, blurry Plasma panel and launcher (682.30 KB, image/png)
2021-02-22 07:32 UTC, phrxmd
Details
KDE Plasma 5.21 screenshot after clearing Plasma cache: crisp Firefox and Plasma panel, blurry Yakuake (1.26 MB, image/png)
2021-02-24 11:36 UTC, phrxmd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phrxmd 2021-02-22 07:32:41 UTC
Created attachment 136029 [details]
KDE Plasma 5.21 screenshot: crisp Firefox and KCalc windows, blurry Plasma panel and launcher

SUMMARY
On a HiDPI display under Plasma Wayland 5.21 with 200% display scaling, the panel, launcher etc. are rendered blurry, while KDE and Qt applications, regular Wayland applications and window decorations are not.

STEPS TO REPRODUCE
1. Set display scaling to 200%.
2. Launch a few Qt applications.
3. Look at the panel or open the application launcher.

OBSERVED RESULT
The panel and launcher are blurry, the application windows are not.
(See screenshot.)

EXPECTED RESULT
The panel and launcher should be crisp.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210220
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Note that this is not bug 412089, the window decorations are crisp.
I encountered this after running into bug 432099 (having to set the display scaling once again in Wayland after setting it in X11).
Comment 1 phrxmd 2021-02-22 07:59:55 UTC
Update: this is gone after a logout. It happens again whenever I change the display scaling, until the next login.
So a more accurate description would be:
"After changing the display scaling in the Wayland session, Plasma and applets are rendered blurry until the next login."
Comment 2 Nate Graham 2021-02-22 21:02:40 UTC
Works for me FWIW.

Does it fix itself if you clear the Plasma cache and restart plasmashell? Try this:

rm -rf ~/.cache/*plasma*
plasmashell --replace
Comment 3 phrxmd 2021-02-24 11:35:07 UTC
Thank you. Clearing the Plasma cache does solve the problem for the Plasma panel. 

However, if any other KDE applications were open before changing the display scaling, they are still blurry. This happened to me with Yakuake, but also with Plasma notifications. I'm attaching a screenshot taken right after clearing the cache and restarting Plasma - it shows the Yakuake window.
Comment 4 phrxmd 2021-02-24 11:36:05 UTC
Created attachment 136108 [details]
KDE Plasma 5.21 screenshot after clearing Plasma cache: crisp Firefox and Plasma panel, blurry Yakuake
Comment 5 David Edmundson 2021-02-24 11:53:48 UTC
>However, if any other KDE applications were open before changing the display scaling, they are still blurry.

Logging out and in will fix it. 
Moving the monitor to a new screen and back will fix it.

Till then we have a known Qt bug
Comment 6 phrxmd 2021-02-24 12:20:12 UTC
Thank you.
Comment 7 Nate Graham 2021-02-24 14:48:33 UTC
Is there a Qt bug report tracking that issue?
Comment 8 Patrick Silva 2021-05-31 13:00:01 UTC
Could anyone share link to Qt bug please?
I'm also affected, see bug 412118
Comment 9 Nate Graham 2021-06-01 16:15:57 UTC
*** Bug 412118 has been marked as a duplicate of this bug. ***
Comment 10 Marco Martin 2021-06-04 13:30:12 UTC
Also affects the Plasma Mobile session: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/29
Comment 11 Marco Martin 2021-06-04 13:31:34 UTC
I think is https://bugreports.qt.io/browse/QTBUG-78327
Comment 12 Patrick Silva 2021-09-14 19:45:37 UTC
*** Bug 442437 has been marked as a duplicate of this bug. ***
Comment 13 Sebastian Turzański 2022-06-15 10:25:37 UTC
bug still valid for plasma 5.25