Bug 453782

Summary: Font size not adjustable for Text Only system monitor applets
Product: [Plasma] plasmashell Reporter: Lastique <andysem>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, nate, notmart, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot illustrating the problem.

Description Lastique 2022-05-14 14:16:18 UTC
SUMMARY

When a system monitor applet, such as Network speed monitor or CPU Usage, is placed on a horizontal panel, often there is no space to fit the text of the sensors with the default font size. The applet does not scale the font size to fit the text in the panel, and there is no way to manually configure font.

STEPS TO REPRODUCE

1. Add a Network speed monitor applet on a horizontal panel.
2. Make sure Download and Upload Rate are listed in Text-Only sensors.
3. Switch the applet to the Text Only mode.

OBSERVED RESULT

Some of the text does not fit on the panel (see screenshot).

EXPECTED RESULT

The font size should be scaled automatically, depending on the available space on the panel. Also, there should be a way to manually configure the font in the applet settings.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-30-lowlatency (64-bit)
Graphics Platform: X11
Processors: 16 × 12th Gen Intel® Core™ i7-12700K
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
Comment 1 Lastique 2022-05-14 14:17:04 UTC
Created attachment 148829 [details]
Screenshot illustrating the problem.
Comment 2 Nate Graham 2022-05-16 16:55:21 UTC
Yeah, this isn't ideal. It should auto-scale or lay itself out better.