Bug 483907 - Custom font size does not respect global scale
Summary: Custom font size does not respect global scale
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 6.0.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-18 15:23 UTC by Du Yijie
Modified: 2024-04-10 19:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
nathandu: Wayland?


Attachments
"10pt" Noto Sans under 200% scale (2.76 KB, image/png)
2024-03-18 15:23 UTC, Du Yijie
Details
"20pt" Noto Sans under 200% scale (5.99 KB, image/png)
2024-03-18 15:24 UTC, Du Yijie
Details

Note You need to log in before you can comment on or make changes to this bug.
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.