Bug 442724 - Group devices by type
Summary: Group devices by type
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (other bugs)
Version First Reported In: 5.22.3
Platform: Neon Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-09-20 08:50 UTC by Riccardo Robecchi
Modified: 2025-06-16 12:08 UTC (History)
3 users (show)

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


Attachments
Screenshot of the widget (40.77 KB, image/png)
2021-09-20 08:50 UTC, Riccardo Robecchi
Details
screenshot taken on neon unstable (84.22 KB, image/png)
2021-11-23 14:49 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2021-09-20 08:50:23 UTC
Created attachment 141716 [details]
Screenshot of the widget

SUMMARY
The widget does not group devices by type, so that devices of different types are separated making multiple category names (e.g. "Storage Volume") appear, wasting space and adding clutter and confusion. See attached screenshot for a practical example.

STEPS TO REPRODUCE
1. Open the widget

OBSERVED RESULT
Devices are not grouped by type.

EXPECTED RESULT
Devices are grouped by type.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2021-09-20 22:18:49 UTC
Can confirm duplicated "Storage Volume" category on Arch Linux.

Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 2 Nate Graham 2021-09-21 22:11:53 UTC
Hmm, that's not supposed to happen. All of the "Storage Volume" devices are supposed to appear in a single category.
Comment 3 Patrick Silva 2021-11-23 14:49:28 UTC
Created attachment 143874 [details]
screenshot taken on neon unstable

This screenshot taken on neon unstable shows the applet set to show all devices, it has 3 'Network share' (CIFS network shares mounted via fstab file) and 3 'Storage volume' (partitions of an internal SSD) sections.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 4 Nate Graham 2021-11-23 15:19:45 UTC
Good candidate for using section headers to group different types.
Comment 5 Riccardo Robecchi 2025-06-12 12:53:01 UTC
This seems to be fixed now; devices are correctly grouped by type. I'm not sure whether it should be kept open as a reminder for Nate's suggestion:

(In reply to Nate Graham from comment #4)
> Good candidate for using section headers to group different types.
Comment 6 Nate Graham 2025-06-12 14:27:13 UTC
We do have section headers here too. However I think they're not using the standard ones. I'll see if I can tackle that, and also hide the header when there's only one (in which case it's pointless).
Comment 7 Bug Janitor Service 2025-06-12 15:18:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5589
Comment 8 Nate Graham 2025-06-12 15:19:07 UTC
This is fixed; marking as resolved. My follow-up work is in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5589
Comment 9 Nate Graham 2025-06-12 16:35:31 UTC
Git commit 2278398309c68ce401a8e35b193fca3782391a4a by Nate Graham.
Committed on 12/06/2025 at 15:15.
Pushed by ngraham into branch 'master'.

applets/devicenotifier: use standard section header

No need for a custom header here when we have a standard one.

M  +2    -8    applets/devicenotifier/package/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/2278398309c68ce401a8e35b193fca3782391a4a