Bug 494495

Summary: Ugly text on system monitor pie charts on thin panels or small widgets
Product: [Plasma] plasmashell Reporter: 15c730840a66 <6ot3tjpxk>
Component: System MonitorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: ahiemstra, deucebroom1, kdedev, nate, notmart
Priority: NOR Keywords: regression
Version: 6.2.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.4
Sentry Crash Report:
Attachments: Before vs After

Description 15c730840a66 2024-10-10 23:30:04 UTC
Created attachment 174660 [details]
Before vs After

SUMMARY
After updating to Plasma 6.2, system monitor widgets have text that is both unusually bold and very badly rendered.

OBSERVED RESULT
Widget text is displayed with its own unique font, thickness, and subpixel rendering (or lack thereof).

EXPECTED RESULT
Widget text is displayed similarly to the clock's text.

SOFTWARE/OS VERSIONS
Linux: 6.11.2-arch1-1
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Comment 1 Nate Graham 2024-10-11 17:32:19 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2024-11-04 16:06:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/377
Comment 3 Arjen Hiemstra 2024-11-06 12:21:47 UTC
Git commit 69c7ad2122b1c5dd6fcc3edaa8be4ec597bdfda5 by Arjen Hiemstra.
Committed on 04/11/2024 at 16:01.
Pushed by ahiemstra into branch 'master'.

faces/piechart: Use GraphicalEffects.Glow for rendering outline of compact text

Apparently using style Text.Outline leads to some pretty bad text
rendering. So instead use Glow from GraphicalEffects to achieve a
similar effect but one that's smoother. Unfortunately this uses
deprecated API because MultiEffect turns out to be completely unusable.

M  +15   -6    faces/facepackages/piechart/contents/ui/UsedTotalDisplay.qml

https://invent.kde.org/plasma/libksysguard/-/commit/69c7ad2122b1c5dd6fcc3edaa8be4ec597bdfda5
Comment 4 Arjen Hiemstra 2024-11-06 12:23:58 UTC
Git commit 6e164d04743823fca6392ed9cce9e75acd537a0c by Arjen Hiemstra.
Committed on 06/11/2024 at 12:22.
Pushed by ahiemstra into branch 'Plasma/6.2'.

faces/piechart: Use GraphicalEffects.Glow for rendering outline of compact text

Apparently using style Text.Outline leads to some pretty bad text
rendering. So instead use Glow from GraphicalEffects to achieve a
similar effect but one that's smoother. Unfortunately this uses
deprecated API because MultiEffect turns out to be completely unusable.


(cherry picked from commit 69c7ad2122b1c5dd6fcc3edaa8be4ec597bdfda5)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +15   -6    faces/facepackages/piechart/contents/ui/UsedTotalDisplay.qml

https://invent.kde.org/plasma/libksysguard/-/commit/6e164d04743823fca6392ed9cce9e75acd537a0c