Bug 421847

Summary: Lock screen clock does not respect the system's font antialiasing setting
Product: [Plasma] plasmashell Reporter: svc.kde
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: minor CC: nate, plasma-bugs
Priority: NOR    
Version First Reported In: 5.18.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Sentry Crash Report:

Description svc.kde 2020-05-21 00:33:45 UTC
SUMMARY
The lock screen clock fails to respect the system's font antialiasing settings and always uses RGB subpixel antialiasing, even when everything is configured to use grayscale antialiasing.

STEPS TO REPRODUCE
1. Switch to grayscale font antialiasing in System Settings -> Fonts
2. Re-login to make sure the font rendering change takes effect
3. Lock the screen
4. Look closely at the clock or date

OBSERVED RESULT
The clock and date at the top of the lock screen are rendered using RGB subpixel antialiasing. This can be verified by carefully looking at the edges of the text in a screenshot if the difference is not clear.

EXPECTED RESULT
The clock and date are rendered using grayscale antialiasing.

SOFTWARE VERSIONS
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 Nate Graham 2022-11-03 16:33:09 UTC
Git commit 0d374e4be2531a6771d76c2b9efcf6ecafe1bf33 by Nate Graham.
Committed on 03/11/2022 at 16:32.
Pushed by ngraham into branch 'master'.

Use PlasmaComponents labels for the re-usable clock component

This component is supposed to be used in Plasma UIs, not desktop UIs. So
it shouldn't be using QQC2 components.
FIXED-IN: 5.27

M  +3    -5    lookandfeel/org.kde.breeze/contents/components/Clock.qml

https://invent.kde.org/plasma/plasma-workspace/commit/0d374e4be2531a6771d76c2b9efcf6ecafe1bf33