Both "Eject" and "Safely remove drive" actions are shown for removable drives
Affected version
- Nightly flatpak: Yes
- Other: Manjaro, GNOME nautilus 3.34.1 (3.34.1-7a2a59b6)
Steps to reproduce
- Connect USB drive.
- Right click on the newly automounted drive.
- Verify that both "Eject" and "Safely remove drive" actions are present in the contextual menu.
Current behavior
Both actions are displayed, and either one ejects the drive (it is completely removed from the sidebar and needs to be unplugged and plugged back in to be shown again, as usual).
Expected behavior
Only one of the two actions should be displayed, as in the case of USB drives they seem to be redundant.
Additional information
This old bug report and this AskUbuntu answer make me think that only one of these two actions should be shown at a single time, depending on whether the related drive is an optical unit or a mass storage device.
Screenshots
Nightly flatpak:
v3.34.1 in my distro's repos: