Bug 406721 - Dolphin prevents unmounting of a removable device for a while after canceling a file copy
Summary: Dolphin prevents unmounting of a removable device for a while after canceling...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.86.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: usability
: 445488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-20 23:58 UTC by Patrick Silva
Modified: 2023-11-17 20:34 UTC (History)
4 users (show)

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


Attachments
screenshot (19.66 KB, image/png)
2019-04-20 23:58 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-04-20 23:58:53 UTC
Created attachment 119537 [details]
screenshot

STEPS TO REPRODUCE
1. connect a storage device to usb port (I used a pen drive formatted with fat32 file system)
2. open dolphin and start to copy a big file (~2 GiB) to your device
3. cancel the file operation via the notification applet in systray
4. right click on your device in places panel under "Removable devices"
and select "Safely remove"

OBSERVED RESULT
Dolphin prevents unmounting and shows the error message
"The device is currently busy...".
See the attached screenshot.
Such situation persists for several minutes.

EXPECTED RESULT
Device should be unmounted without any error.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57
Qt Version: 5.12.3
Comment 1 Nate Graham 2019-04-23 17:26:03 UTC
IIRC this is happening because the file transfer is still technically not finished yet (I think it has to finalize or sync or something) even though the file transfer's progress makes it seem finished.

I agree that it's not really an amazing user experience.
Comment 2 Ahmad Samir 2019-09-24 11:31:29 UTC
The error comes from udisks, the device is busy until the filesystems finish syncing.
Comment 3 Nate Graham 2019-09-24 16:26:12 UTC
Maybe we just need to display a better error message here so the user knows why the device is busy.
Comment 4 Nate Graham 2021-11-24 19:16:35 UTC
*** Bug 445488 has been marked as a duplicate of this bug. ***
Comment 5 Patrick Silva 2023-11-17 20:34:27 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland