Bug 383668 - Krusader blocks ejecting of removable drive by self 'krusader' process if drive is opened in it's tab
Summary: Krusader blocks ejecting of removable drive by self 'krusader' process if dri...
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Netrunner Rolling Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 13:27 UTC by Alexander Mentyu
Modified: 2022-05-16 06:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the-device-is-currently-busy (10.68 KB, image/png)
2017-08-18 14:02 UTC, Alexander Mentyu
Details
media-button-unmount (186.67 KB, image/png)
2018-02-20 05:51 UTC, Alexander Mentyu
Details
navigator-bar-safely-remove (192.40 KB, image/png)
2018-02-20 05:51 UTC, Alexander Mentyu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2017-08-18 13:27:28 UTC
This happens when ejecting drive from Krusader itself.

Also 'Sorry - The device is currently busy...' window popups .And it's popups +1 times. This means that first time this window pops up one time - then if drive wasn't removed and Krusader wasn't closed - upon second eject attempt - the windows pops up 2 times, upon next attempt 3 times and so on.
Comment 1 Alexander Mentyu 2017-08-18 14:02:50 UTC
Created attachment 107350 [details]
the-device-is-currently-busy
Comment 2 Nikita Melnichenko 2018-02-19 23:28:25 UTC
How do you eject a drive from Krusader itself?
Comment 3 Alexander Mentyu 2018-02-20 05:51:02 UTC
Firstly mount the drive and open it in Krusader - than by left clicking on Media Button - and then right click on mounted drive and choosing 'Unmount' or by left clicking on Navigator bar and choosing 'Safely Remove' menu option
Comment 4 Alexander Mentyu 2018-02-20 05:51:26 UTC
Created attachment 110832 [details]
media-button-unmount
Comment 5 Alexander Mentyu 2018-02-20 05:51:46 UTC
Created attachment 110833 [details]
navigator-bar-safely-remove
Comment 6 Nikita Melnichenko 2018-02-20 06:49:11 UTC
Thanks for the explanation! I confirm this issue. Dolphin handles this case pretty well (if you press Eject in the Device Notifier, I'm haven't checked if they have an action within Dolphin). AFAIR, Total Commander also able to eject even if the folder on the device is open, however it changes the dir to default drive.

BTW, +1 error message appear only if you select "Unmount". For "Safely Remove" it is fine.
Comment 7 Bug Janitor Service 2020-08-21 11:19:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/krusader/-/merge_requests/27
Comment 8 Claudius Ellsel 2020-08-21 15:44:34 UTC
*** Bug 417703 has been marked as a duplicate of this bug. ***
Comment 9 Nikita Melnichenko 2022-05-16 06:13:08 UTC
Git commit 7b1fd7f6cdb3b39ff85eadf260824c49f396721e by Nikita Melnichenko, on behalf of Davide Gianforte.
Committed on 16/05/2022 at 05:54.
Pushed by melnichenko into branch 'master'.

Unmount devices from external action

Unmount a device when requested from an external program.
Related: bug 417703
FIXED: [ 383668 ] Krusader blocks ejecting of removable drive by self 'krusader' process if drive is opened in it's tab
FIXED: [ 417703 ] Cannot unmount an external device when it's opened by Krusader

M  +1    -0    krusader/GUI/mediabutton.cpp
M  +34   -0    krusader/MountMan/kmountman.cpp
M  +2    -0    krusader/MountMan/kmountman.h

https://invent.kde.org/utilities/krusader/commit/7b1fd7f6cdb3b39ff85eadf260824c49f396721e