Summary: | Broken fonts and fuzzy theme previews in multiple system settings | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kdeclarative | Reporter: | Topi <ritalat> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | cyril.rossi, gisk+kdebugs, j.oster+5f2vykb9, kde, kdelibs-bugs, kgavionics, lee295012, matejm98mthw, med.medin.2014, micsim2007, nate, p.van.damme1112, postix, yjcoshc, zawertun |
Priority: | HI | Keywords: | regression |
Version: | 5.69.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://cgit.kde.org/kdeclarative.git/commit/?id=9725a21bcd0ee07c48be5077a735710c5658cf59 | Version Fixed In: | 5.71 |
Sentry Crash Report: | |||
Attachments: |
Broken font rendering on labels and fuzzy preview images
GridDelegate.qml In new GHNS dialog kdeglobals from affected machine |
*** Bug 417483 has been marked as a duplicate of this bug. *** Cannot reproduce. This might be particular to certain graphics hardware. What graphics hardware and software are you using? Or here's a horrifying and depressing possibility: the workaround we added for https://bugreports.qt.io/browse/QTBUG-49646 in https://cgit.kde.org/kdeclarative.git/commit/?id=083b21c4073f8ae2aae0cbddf4a6fecb75240f9b causes this regression for some people. (In reply to Nate Graham from comment #2) > Cannot reproduce. This might be particular to certain graphics hardware. > > What graphics hardware and software are you using? Nvidia GTX 1070 with the proprietary 440.59 driver. Thanks. Are you able to test a patch, or willing to modify some system files to test a theory of mine? (In reply to Nate Graham from comment #5) > Thanks. > > Are you able to test a patch, or willing to modify some system files to test > a theory of mine? Sure. I have some time to fiddle around later today. Noticed some fonts were smaller since the update, tried to make them bigger but the settings won't stick. change point size in Fonts, back to All Settings then back to Fonts and its stuck on the old size. (In reply to Nate Graham from comment #5) > Thanks. > > Are you able to test a patch, or willing to modify some system files to test > a theory of mine? I can test patch too. So I need to revert commit 083b21c4073f8ae2aae0cbddf4a6fecb75240f9b, right? Also using the NVIDIA proprietary drivers, GTX960 here. Happy to apply patches to the system :) (In reply to Yaroslav Sidlovsky from comment #8) > (In reply to Nate Graham from comment #5) > > Thanks. > > > > Are you able to test a patch, or willing to modify some system files to test > > a theory of mine? > > I can test patch too. > So I need to revert commit 083b21c4073f8ae2aae0cbddf4a6fecb75240f9b, right? Yep. Created attachment 125993 [details]
GridDelegate.qml
For those of you who don't want to or can't compile software, try replacing "GridDelegate.qml" on your system with
the attached file, after backing up the original file somewhere safe.
On my system, it lives at /usr/lib64/qt5/qml/org/kde/kcm/GridDelegate.qml, but you can locate it with `find /usr | grep "kcm/GridDelegate.qml"`
Building kdeclarative without 083b21c4073f8ae2aae0cbddf4a6fecb75240f9b did not fix the issue. Just tried to replace GridDelegate.qml with those from attachment - still see font artefacts. And seems like theme preview became more blurry than before. I have the same issue on an Nvidia PC and on an Intel i915. Operating System: Kubuntu 19.10 KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.12.4 Kernel Version: 5.3.0-29-generic OS Type: 64-bit Processors: 2 × Intel® Core™2 Duo CPU P8600 @ 2.40GHz Memory: 3,7 GiB (In reply to Yaroslav Sidlovsky from comment #13) > Just tried to replace GridDelegate.qml with those from attachment - still > see font artefacts. > And seems like theme preview became more blurry than before. Although I cannot confirm that it is more blurry, at least I can confirm that the bug still exists. Are there any other things we can help with? Logfiles or some parameters we can try to modify? Same issue here. Blurry previews and font. Tested with GridDelegate.qml attached, no change. Let me know if I can help for tests. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.18.80 KDE Frameworks Version: 5.68.0 Qt Version: 5.13.2 *** Bug 416350 has been marked as a duplicate of this bug. *** Darn, I guess it wasn't 083b21c4073f8ae2aae0cbddf4a6fecb75240f9b. Still broken, version number bumped appropriately Has anyone tried with a completely new user? I created a new user and logged in using it, and the blurry of UI seemed to be vanished. (In reply to yjcoshc from comment #20) > Has anyone tried with a completely new user? > I created a new user and logged in using it, and the blurry of UI seemed to > be vanished. Makes no difference to my affected machine. What I do know is I can only recreate it on the machine with a GTX960 using nvidia proprietary drivers (440.59 currently) and not my laptop which uses i915. I tried it with the root account and a new account. Both of those exhibit the same behaviour as my normal user account. Screen resolution is 1280x1024. Default desktop scaling of 1.0 but forced font dpi of 96 in font settings. It's almost certainly a label with native rendering not being pixel aligned. Especially as we're not using Text.align methods here. If someone could run in gamma ray and find out that'd be great. Failing that include their kdeglobals file. Created attachment 126832 [details]
In new GHNS dialog
I don't see the issue in grid delegates, but I think I see the same thing in the Close button on the new GHNS dialogs (see attachment). David, do you think that's the same issue?
Created attachment 126855 [details]
kdeglobals from affected machine
KDE Globals as requested
*** Bug 418943 has been marked as a duplicate of this bug. *** Bug disappeared on version Plasma 5.18.5, even though i don't see anything related in the change log. Nope, not for me. Still present. KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 Kernel: 5.6.10-arch1-1 Very likely fixed with https://cgit.kde.org/kdeclarative.git/commit/?id=9725a21bcd0ee07c48be5077a735710c5658cf59! Edited the file manually. Yes, that has fixed the bug. Nice, thank you! (In reply to Nate Graham from comment #28) > Very likely fixed with > https://cgit.kde.org/kdeclarative.git/commit/ > ?id=9725a21bcd0ee07c48be5077a735710c5658cf59! Thanks! After applying this patch, everything looks good. (In reply to Yaroslav Sidlovsky from comment #30) > (In reply to Nate Graham from comment #28) > > Very likely fixed with > > https://cgit.kde.org/kdeclarative.git/commit/ > > ?id=9725a21bcd0ee07c48be5077a735710c5658cf59! > > Thanks! After applying this patch, everything looks good. With KDE 5.18.5 the bug is still persistent. (In reply to medin from comment #31) > (In reply to Yaroslav Sidlovsky from comment #30) > > (In reply to Nate Graham from comment #28) > > > Very likely fixed with > > > https://cgit.kde.org/kdeclarative.git/commit/ > > > ?id=9725a21bcd0ee07c48be5077a735710c5658cf59! > > > > Thanks! After applying this patch, everything looks good. > > With KDE 5.18.5 the bug is still persistent. The bug was reported against the wrong component. You have to wait for the 5.71 framework's update. |
Created attachment 125895 [details] Broken font rendering on labels and fuzzy preview images SUMMARY With the 5.18 update some theme previews in system settings became blurry. The font rendering on the labels also broke. The affected settings are: -global theme -plasma style -widget style -window style -icon style -cursor style The color scheme previews and their labels are unaffected. STEPS TO REPRODUCE 1. Open system settings and look at the sections listed above OBSERVED RESULT Label fonts are broken and theme previews are blurry. EXPECTED RESULT Sharp fonts and previews. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67 Qt Version: 5.14.1