Bug 481728 - Wrong / misleading "No removable devices attached"
Summary: Wrong / misleading "No removable devices attached"
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices (show other bugs)
Version: 5.93.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-23 16:25 UTC by John
Modified: 2024-02-26 20:50 UTC (History)
3 users (show)

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


Attachments
Widget showing that there are no removable devices attached while they are still attached. (1.17 MB, image/png)
2024-02-23 16:25 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2024-02-23 16:25:56 UTC
Created attachment 166043 [details]
Widget showing that there are no removable devices attached while they are still attached.

SUMMARY
Wrong / misleading "No removable devices attached"


STEPS TO REPRODUCE
1. Insert a USB pen drive in one of the USB ports of the computer, preferably one with multiple partitions on it
2. Mount and open a partition
3. Click on the "Safely Remove" icon in Dolphin

OBSERVED RESULT
1. The partition is unmounted and widget from system tray pops up with the following message:
No removable devices attached
The physical USB drive is still plugged in, so this message is wrong.
2. Even though the USB drive is still plugged in, the partition cannot be mounted again as it disappeared completely from Dolphin.
3. If the USB drive has multiple partitions on it, the misleading popup and message will appear only after the last one is unmounted too, so it's correct that the drive can then be safely removed, but the message is still wrong as it has not been detached yet, but it's "Safe to be removed".
4. As long as the last partition on the USB drive  has not be unmounted, the others can still be mounted



EXPECTED RESULT
1. The message should say "The drive is now safe to be removed", not that no removable devices are still attached.
2. As long as the drive has not been physically removed yet, then allow to mount the partitions again, even when there's only one partition available on the entire drive.
Maybe we changed our mind about unplugging it from the computer or maybe we forgot to put some other data on it.
It doesn't make much sense to have to physically unplug it and then plug it back in to be able to mount the partition that we just unmounted
3. Display the  right message about the  the drive being safe to be removed when the last partition have been unmounted too.
4. Allow to mount and open partitions back after they have been "Safely removed", even when the drive has only one partition.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Installed ISO: neon-testing-20240207-1524.iso
Fully up to date: 2024-02-23
Comment 1 Doug 2024-02-24 07:41:38 UTC
Can reproduce.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon Pro WX 3200 Series
Comment 2 Nate Graham 2024-02-26 20:50:39 UTC
The real issue is, as you observed, the lack of this:

> As long as the drive has not been physically removed yet, then allow to mount the partitions again,
> even when there's only one partition available on the entire drive.
At the moment this behavior is intentional. We received a number of bug reports about the opposite behavior, prompting us to change it.