Bug 428392 - Impossible to "eject" a mounted ISO image via Places panel
Summary: Impossible to "eject" a mounted ISO image via Places panel
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: ISO mounting (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Kwon-Young Choi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-28 13:39 UTC by Patrick Silva
Modified: 2022-04-20 02:12 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-28 13:39:35 UTC
SUMMARY
When I unmount an ISO image mounted with "Mount ISO" plugin,
it remains under "Devices" section of Places panel and there is no "Eject" option
to remove it. Reboot is the only solution.

STEPS TO REPRODUCE
1. open Dolphin
2. right-click on an ISO image, choose "Mount ISO"
3. unmount the just mounted ISO image

OBSERVED RESULT
explained above

EXPECTED RESULT
a way to "eject" ISO images should exist

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Comment 1 Kwon-Young Choi 2020-10-28 13:44:59 UTC
(In reply to Patrick Silva from comment #0)
> SUMMARY
> When I unmount an ISO image mounted with "Mount ISO" plugin,
> it remains under "Devices" section of Places panel and there is no "Eject"
> option
> to remove it. Reboot is the only solution.
> 
> STEPS TO REPRODUCE
> 1. open Dolphin
> 2. right-click on an ISO image, choose "Mount ISO"
> 3. unmount the just mounted ISO image

How do you unmount the ISO image ?
Do you use the Dolphin left pane called Place or do you use the contextual menu of the ISO file ?

Normally, you can remove the ISO file by using the "Unmount ISO" entry of the contextual menu of the ISO file.
Comment 2 Patrick Silva 2020-10-28 14:03:37 UTC
clearer step 3:
3. right-click on the ISO image under "Devices" section of Places panel, choose "Unmount"

OBSERVED RESULT
the icon under "Devices" indicates successful unmounting but the ISO image is not "ejected".
If I right-click on the same ISO image and select "Unmount ISO" (unexpectedly available in the context menu because the ISO image is already unmounted),
the ISO image is "ejected" and disappears from "Devices" section.
Comment 3 Kwon-Young Choi 2020-10-28 14:08:57 UTC
(In reply to Patrick Silva from comment #2)
> clearer step 3:
> 3. right-click on the ISO image under "Devices" section of Places panel,
> choose "Unmount"
> 
> OBSERVED RESULT
> the icon under "Devices" indicates successful unmounting but the ISO image
> is not "ejected".
> If I right-click on the same ISO image and select "Unmount ISO"
> (unexpectedly available in the context menu because the ISO image is already
> unmounted),
> the ISO image is "ejected" and disappears from "Devices" section.

Ok, so this is the expected behavior.
The idea is that the "Mount" and "Unmount" entry on the contextual menu of the ISO file act as if you physically inserted or ejected the CD-ROM.

It would be nice to be able to remove the unmounted iso file from Dolphin's Place pane directly but it is much more difficult to implement for me since it involves modifying Dolphin's code.