Bug 421578

Summary: Overlapping texts in the new Hard Disk Activity and Network Speed widgets
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System Monitor widgetsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: lbeltrame, nate, plasma-bugs-null
Priority: HI    
Version First Reported In: 5.18.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
Network speed widget is also affected

Description Patrick Silva 2020-05-15 19:17:33 UTC
Created attachment 128491 [details]
screenshot

STEPS TO REPRODUCE
1. add the new Hard Disk Activity widget to your desktop
2. 
3. 

OBSERVED RESULT
See the attached screenshot please.

EXPECTED RESULT
no overlapping text

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0 rc2
Comment 1 Patrick Silva 2020-05-16 21:22:02 UTC
Created attachment 128531 [details]
Network speed widget is also affected
Comment 2 Patrick Silva 2020-05-18 06:44:17 UTC
*** Bug 421694 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2020-05-20 08:47:58 UTC
Git commit 7b116c5e9d60f6497aba4be17db4aaa65a9ec91f by Marco Martin.
Committed on 20/05/2020 at 08:47.
Pushed by mart into branch 'master'.

support different long/short labels

if both long and short labels have been provided, switch to
the short label before hiding the label completely

does better layouting also with current plasmashell fixing
ugly label overlapping

M  +2    -0    controls/Legend.qml
M  +7    -28   controls/LegendDelegate.qml

https://invent.kde.org/frameworks/kquickcharts/commit/7b116c5e9d60f6497aba4be17db4aaa65a9ec91f