Can no longer Unmount a removable drive - only Remove it.

Bug #1827778 reported by Gordon Lack
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
dolphin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If I right-click on a mounted Removable Device in dolphin I get the option to "Safely remove it".

This will unmount it and *power it off*!

Which means I need to remove it and plug it back in again to get it to show up. Not what I want...

This is a change at 19.04. Previously it would just unmount it. (Or rather, it would just unmount an external disk-drive, but would remove a usb-stick).

There should be an option to just unmount (which is perfectly possible to do - "udisksctl unmount" achieves it).

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: dolphin 4:18.12.3-0ubuntu2
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: KDE
Date: Sun May 5 13:53:05 2019
InstallationDate: Installed on 2019-01-14 (110 days ago)
InstallationMedia: Kubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
SourcePackage: dolphin
UpgradeStatus: Upgraded to disco on 2019-05-04 (1 days ago)

Revision history for this message
Gordon Lack (gordon-lack) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dolphin (Ubuntu):
status: New → Confirmed
Revision history for this message
Richard Clayton (richard-rideandclimb) wrote :

I can confirm this behaviour. The current setup requires me to crawl behind my computer and unplug and re-plugin external HDDs after they have been safely removed.

Revision history for this message
Gordon Lack (gordon-lack) wrote :

If you are interested in a workaround...

Put this into a *.desktop file in ~/.local/share/solid/actions/

========== NOT THIS LINE ==========
# Add an entry to the Devices menus in the Taskbar to just unmount a
# device (not power it down).
# Based on code in:
# https://bugs.kde.org/show_bug.cgi?id=270808#c64
#
# Needs to be in .local/share/solid/actions/
# so just symlink to it from there....
#
# NOTE: that to power off use:
# udisksctl power-off -b /dev/sd...
# Iff we could determine whether the *whole* device is unmounted we
# could add an option for that, but we can't...
#
[Desktop Action open]
Exec=udisksctl unmount -b %d
Icon=uninstall
Name=Just Unmount device [ADDDED]

[Desktop Entry]
Actions=open
Type=Service
X-KDE-Action-Custom=true
# This would be better, but doesn't work...
#X-KDE-Solid-Predicate=[[IS StorageVolume AND StorageVolume.ignored == false] AND StorageAccess.accessible == 'true']
X-KDE-Solid-Predicate=[IS StorageVolume AND StorageVolume.ignored == false]
========== NOT THIS LINE EITHER ==========

It will add a "just unmount" option on the Device Notifier section.

Revision history for this message
Bast1aan (bast1aan) wrote :

I would like to add that on modern SMR drives, immediately powering down them after unmounting (writing) to them, can do more harm than good.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.