Bug 422835

Summary: Sensor search of the new system monitor widgets doesn't work
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System MonitorAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs
Priority: NOR    
Version: 5.19.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.19.2
Sentry Crash Report:

Description Patrick Silva 2020-06-11 17:12:30 UTC
STEPS TO REPRODUCE
1. add to your desktop any of the new system monitor widgets included in Plasma 5.19
2. open the settings window of the just added widget and click on "Sensors details" section
3. type terms like "total", "cpu", "read", "write" in the search field

OBSERVED RESULT
no sensor is found

EXPECTED RESULT
search results

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Comment 1 David Edmundson 2020-06-11 17:31:40 UTC
Something in here:

                        sourceModel: KItemModels.KSortFilterProxyModel {
                            filterRole: "SensorId"
                             filterRowCallback: function(row, value) {
                                 return (value && value.length)
                             }


Gammaray showed the model above populated, this was not.

SensorId role in the parent.
Comment 2 David Edmundson 2020-06-11 17:40:28 UTC
got it