Bug 465274

Summary: Disk Usage Widget stopped showing root partition, only shows /home
Product: [Frameworks and Libraries] ksystemstats Reporter: thedubster
Component: GeneralAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, nate, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of Disk Usage Config Window
OpenPGP_0xC5110CBAB33EDBCD.asc
OpenPGP_0xC5110CBAB33EDBCD.asc

Description thedubster 2023-02-04 14:42:40 UTC
Created attachment 155937 [details]
Screenshot of Disk Usage Config Window

The Disk Usage Widget suddenly stopped showing the root partition. The option to choose the root partition disappeared from the settings.
Comment 1 thedubster 2023-02-04 14:44:45 UTC
Sorry if this a duplicate, but I couldn't find anything similar. This has been for a while. Can't remember when exactly it started, but I waited for a few months to resolve itself before reporting.
Comment 2 thedubster 2023-02-04 20:38:34 UTC
After doing some more research and installing the system monitor GUI, it turns out that one doesn't show the root partition either. That obviously means that this bug belongs to system monitor. I haven't seen anything reported there though.
Comment 3 thedubster 2023-07-11 19:08:02 UTC
Since this bug hasn't been resolved yet, I thought I check my opneSuse Tumbleweed install. This bug doesn't seem to exist there it still shows all the disks.
Comment 4 thedubster 2023-11-19 23:11:16 UTC
I just changed the Plasma version to 5.27.9 since the bug still persists.
Comment 5 Arjen Hiemstra 2024-06-06 15:07:45 UTC
KSystemStats (the service that both the Plasma applets as well as Plasma System Monitor use for this data) itself uses Solid to query which drives there are. It looks like in your case Solid may think that your root doesn't have the necessary properties for it to be shown.

Does this still happen with Plasma 6? If so, can you run `solid-hardware6 query "IS StorageVolume"` and `solid-hardware6 query "IS StorageAccess" to see what solid thinks are relevant devices?
Comment 6 thedubster 2024-06-10 01:46:15 UTC
Created attachment 170312 [details]
OpenPGP_0xC5110CBAB33EDBCD.asc

Hi Arjen,

Yes it's still happening in Plasma 6.05.
The output from solid-hardware6 query "IS StorageVolume":
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'

The output from solid-hardware6 query "IS StorageAccess":
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'

Hope that helps

On 2024/06/06 10:07, Arjen Hiemstra wrote:
> https://bugs.kde.org/show_bug.cgi?id=465274
> 
> Arjen Hiemstra <ahiemstra@heimr.nl> changed:
> 
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |NEEDSINFO
>           Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #5 from Arjen Hiemstra <ahiemstra@heimr.nl> ---
> KSystemStats (the service that both the Plasma applets as well as Plasma System
> Monitor use for this data) itself uses Solid to query which drives there are.
> It looks like in your case Solid may think that your root doesn't have the
> necessary properties for it to be shown.
> 
> Does this still happen with Plasma 6? If so, can you run `solid-hardware6 query
> "IS StorageVolume"` and `solid-hardware6 query "IS StorageAccess" to see what
> solid thinks are relevant devices?
>
Comment 7 thedubster 2024-06-23 01:38:10 UTC
Created attachment 170841 [details]
OpenPGP_0xC5110CBAB33EDBCD.asc

Hi Arjen;

I'm replying this way because your your mail server keeps telling me the reply I sent doesn't contain any text even though it clearly does ;-)
Anyway here's the requested info: It still happens in Plasma 6.05.

solid-hardware6 query "IS StorageVolume"
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'

solid-hardware6 query "IS StorageAccess"
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'

All the drives are there. Hope that helps