Bug 483907

Summary: Custom font size does not respect global scale
Product: [Plasma] plasmashell Reporter: Du Yijie <nathandu>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: 6.0.2Flags: nathandu: Wayland?
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "10pt" Noto Sans under 200% scale
"20pt" Noto Sans under 200% scale

Description Du Yijie 2024-03-18 15:23:37 UTC
Created attachment 167411 [details]
"10pt" Noto Sans under 200% scale

SUMMARY
The custom font size for digital clock does not respect global scale under Wayland. See attached screenshot.

STEPS TO REPRODUCE
1. Right click a digital clock applet
2. Click "Configure Digital Clock...".
3. Set text display to manual.
4. In Display & Monitor settings, change the scale.

OBSERVED RESULT
The font size does not change with global scale.

EXPECTED RESULT
The font size should change with global scale.

SOFTWARE/OS VERSIONS
Linux: Gentoo with Plasma 6 ebuilds unmasked
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Du Yijie 2024-03-18 15:24:51 UTC
Created attachment 167412 [details]
"20pt" Noto Sans under 200% scale

Image of expected behavior added for reference.
Comment 2 Nate Graham 2024-04-10 19:31:28 UTC
The font size isn't supposed to change with the global scale. The size you've chosen to display it at is simply scaled up by 200%, same as everything else in the system. This is the way all other text in the system works.