https://bugs.kde.org/show_bug.cgi?id=450745

            Bug ID: 450745
           Summary: System monitor widgets wont load selfmade presets
                    correctly
           Product: plasma-systemmonitor
           Version: 5.24.2
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: akseli.lahti...@akselmo.dev
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
I've made my own widget presets in the System Monitor app for GPU and CPU
temperatures. 
Sending the widget directly from System Monitor works fine. 

However, loading preset through the System Monitor Sensor widget doesn't load
it properly. For example instead of getting the GPU temperature line chart, i
get an empty piechart.


STEPS TO REPRODUCE
1. Create a CPU temperature linechart preset with System Monitor  app
2. Add System Monitor Sensor widget to desktop
3. Load the CPU Temperature preset in the widget settings
4. Widget wont load correctly

This also fails if you try to directly load the preset through the Add Widget
menu.

OBSERVED RESULT

Widget fails to load and shows an empty pie chart instead of the created
linechart preset. 

EXPECTED RESULT

Widget would load the correct preset.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-30-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon ™ RX 480 Graphics

ADDITIONAL INFORMATION

I have checked the preset `faceproperties` file in the
`~/.local/share/plasma/plasmoids/org.kde.plasma.systemmonitor.cputemperature/contents`
folder and to me it looks correct, so System Monitor should be saving the
preset correctly at least.

Here's the preset I used

```
[Config]
highPrioritySensorIds=["cpu/cpu0/temperature"]
lowPrioritySensorIds=[]
totalSensors=["cpu/cpu0/temperature"]

[FaceConfig]
historyAmount=60
lineChartFillOpacity=10
lineChartSmooth=true
lineChartStacked=false
rangeAutoX=false
rangeAutoY=true
rangeFromX=0
rangeFromY=0
rangeFromYMultiplier=1
rangeFromYUnit=-1
rangeToX=50
rangeToY=100
rangeToYMultiplier=1
rangeToYUnit=-1
showGridLines=true
showLegend=true
showYAxisLabels=true

[SensorColors]
cpu/cpu0/temperature=122,66,3
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to