Bug 355297 - Hard Disk I/O Monitor display partition that is removed
Summary: Hard Disk I/O Monitor display partition that is removed
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 16:24 UTC by David Shen
Modified: 2021-03-10 02:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (60.15 KB, image/png)
2016-01-31 02:50 UTC, David Shen
Details
screenshot (16.38 KB, image/png)
2016-01-31 02:51 UTC, David Shen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Shen 2015-11-13 16:24:06 UTC
I added one of my hard disk partition into the monitor. Later, I removed that partition. That partition is still displayed in the main window, but not in the settings window. So I cannot remove it.

Reproducible: Always

Steps to Reproduce:
1. Create 2 partitions on a hard disk
2. Add both of these partitions into Hard Disk I/O Monitor's view
3. Remove one of the monitor
4. Observe the monitor's main window
5. Observe the monitor's settings window

Actual Results:  
The removed partition is still displayed in the main window;
The removed partition is not displayed in the settings window;

Expected Results:  
The removed partition is not displayed in either of the windows.
Comment 1 David Shen 2015-11-14 00:38:33 UTC
I just found this issue only reproducible on one of my machine. Maybe it is not a issue. Please close it if it does not reproduce on your side.
Comment 2 David Shen 2016-01-31 02:49:28 UTC
I found another way to reproduce this issue.

1. Connect a USB/external drive to your system
2. In Hard Disk I/O Monitor, check if you can see this new drive in the Settings dialog
3. Exit the monitor and remove the drive
4. Launch the monitor again, and observe the previous driver is not display in the panel
5. Open the Settings dialog, then click on the OK button

Actual: The previous removed drive appeared in the monitor panel.

Expected: Nothing should change in the monitor panel

I think the Settings dialog somehow remembers all the drivers it has seen before. And if the user does not explicitly disable the driver, it will display its status on the monitor. But the Settings dialog does not display those disconnected/remove driver/partition in the list, there's no way to uncheck those driver/partition.
Comment 3 David Shen 2016-01-31 02:50:35 UTC
Created attachment 96935 [details]
screenshot
Comment 4 David Shen 2016-01-31 02:51:08 UTC
Created attachment 96936 [details]
screenshot
Comment 5 Alexander Mentyu 2018-03-15 15:04:52 UTC
Drive that is removed (tried with USB drive) is displayed in the widget, it disappears from the settings after couple of seconds and isn't displayed there

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.25-1-MANJARO
OS: Netrunner Rolling
Comment 6 Nate Graham 2021-03-10 02:17:18 UTC
This is fixed in the new system monitor applets in Plasma 5.19 and later.