Bug 421695

Summary: Network speed widget: preferences checkbox "Show sensors legend" does not show checked state
Product: [Plasma] plasmashell Reporter: Luca Beltrame <lbeltrame>
Component: System Monitor widgetsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luca Beltrame 2020-05-17 21:25:24 UTC
SUMMARY

The checkbox "Show sensors legend" in applet configuration stays forever in checked state, at least visually. Note that clicking on it, even though does not cause visual feedback, does switch the feature on/off. 

STEPS TO REPRODUCE
1. Add Network speed widget
2. Enter applet preferences
3. Click on "show sensors legend"

OBSERVED RESULT

Checkbox remains checked, although the corresponding functionality is enabled / disabled.

EXPECTED RESULT

Checkbox should change visual state (toggled / untoggled and vice versa)

SOFTWARE/OS VERSIONS

Plasma from git master, KF5 from git master, Qt 5.15 RC.
Comment 1 Arjen Hiemstra 2020-05-25 14:21:45 UTC
Git commit a36e8a360a932193e932bf5e89e24f709e869393 by Arjen Hiemstra.
Committed on 25/05/2020 at 14:09.
Pushed by ahiemstra into branch 'master'.

Remove "pressed" from CheckIndicator "on" state

Radio/check buttons really should only be on when the actual control is
in checked state.

M  +1    -1    org.kde.desktop/CheckIndicator.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/commit/a36e8a360a932193e932bf5e89e24f709e869393