After upgrading to KDE six just after it came out, I’ve sorted out almost all the new bugs with one exception: my fonts (inconsistently) look terrible in certain places.
I’m using KDE 6, Arch Linux, on a thinkpad t480s. As the t480s has a HiDPI monitor, the desktop is set to 150% zoom. I use the wayland session by default.
Interestingly, the font rendering problem goes away completely in the X11 session. I can’t really say why, as the buggy font is present in both native plasma desktop applications/widgets, rather than just electron apps or native X apps being broken.
Edit: (Apologies, it seems I cannot post multiple images. Imgur should suffice hopefully “://imgur.com/a/ltJ1WWL”. There are multiple images posted there, each displaying a broken wayland image, a ‘normal’ X11 image, or my general font settings.)
Edit 2: It seems that even links are disabled. The above link has been edited but will need the “https” added back onto it. I will append one image here.
So this looks like something which I didn’t clean up properly after upgrading.
Sadly, this is not something contained in the Home folder, I tried moving everything out - and the issue remains… but NOT with a TEST user!
Update:
I found some weird things out. Launching Meld from terminal was fine, I entered my ~/.local/share/applications folder and looked at the launcher - deleted that and everything’s fine.
The issue was probably launching with GTK Portal… so there you go, OP - probably take a look at cleaning out more junk from before your upgrade…
A complete throw in the dark here.
Those font “artifacts” looks EXACTLY like trying to run harwdare accelerated GPU without support for it. (for example using hardware acceleration in firefox without having it set up correctly)
Just a wild hunch, take it or leave it.
This is (potentially) affecting the out-of-the-box experience for anyone using Plasma 6 on Wayland with fractional scaling, yet it took me 15+ minutes to figure out that this was a known bug.
I wonder whether there is a way we can make “common” issues more visible for users, and whether Discuss could be a hub for that, like adding a “known bug” tag to a thread and making it “sticky”?
I use fractional scaling and notice I can read with less strain using X11 vs Wayland. The font rendering is not as good on Wayland on my setup. Also, I don’t have a dedicated GPU, just built-in Intel graphics. I say that in response to this:
“Those font “artifacts” looks EXACTLY like trying to run hardware accelerated GPU without support for it. (for example using hardware acceleration in firefox without having it set up correctly).”
Have you tried setting export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor?
No idea if that’s related or if it’s a fundumental Kwin/X11/Wayland thing, but it’s worth a try I guess.
(The above is how to solve the thread’s original issue, might be related, might be irrelevant.)