| Summary: | Hard disk activity: duplicated sensors appear in the list | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Luca Beltrame <lbeltrame> |
| Component: | System Monitor widgets | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde, 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:29:47 UTC
>Adding a new sensors representing the I/O of all disks causes the "All Sensors" list to grow two new "Disk Write Access" and "Disk Read Access" upon clicking "Apply". The new sensor name disappears as well, although the entry stays
I don't understand, can you include a screenshot?
edit, nm. Reproduced then it was clearly what you meant Found it eventually. There's a "/" in the ID and SensorTreeModel trips up on it. Should have a fix soon. > @bug_id = 421696 > @bug_status = RESOLVED > @resolution = FIXED > @cf_commitlink = https://invent.kde.org/plasma/libksysguard/commit/53149ebd08c6cd5189969341d1eceed200d17fb1 > > Git commit 53149ebd08c6cd5189969341d1eceed200d17fb1 by David Edmundson. > Committed on 22/05/2020 at 10:02. > Pushed by davidedmundson into branch 'Plasma/5.19'. > > [sensors] Avoid breaking IDs of nodes within SensorTreeModel > > item->name despite the name, is an ID of the relevant segment in the > node. > > It is not the user facing name. That's always in d->sensorInfos. > > By changing it here when double clicking an item we get a metaDataChange > as the Sensor object is constructed, which in turn breaks a lot of model > assumptions. > > M +0 -1 sensors/SensorTreeModel.cpp > > https://invent.kde.org/plasma/libksysguard/commit/53149ebd08c6cd5189969341d1eceed200d17fb1 |