Bug 222773 - Visually disable eject button when device is busy.
Summary: Visually disable eject button when device is busy.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-devicenotifier (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 22:52 UTC by Dotan Cohen
Modified: 2018-06-08 20:10 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2010-01-14 22:52:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources

when a removable device is busy and not in an ejectable state, the eject button should be visually disabled. Additionally, a tooltip or other method should explain why the device cannot be safely ejected and which applications(s) are using it.

Thanks.
Comment 1 Jacopo De Simoi 2010-05-16 23:28:07 UTC
It is not possible to know if a device is busy or not without trying to unmount it. I am planning to make this possible in some specific cases (e.g. if a kio job involves the device), but a general solution is not available I'm afraid.
Comment 2 Dotan Cohen 2010-05-17 08:32:10 UTC
On the Debian mailing list it was suggested that (fuser -mv /$mnt_point) would work across distros, and that using lsof when available would be a bit more complete.
Comment 3 Jacopo De Simoi 2010-05-17 09:20:26 UTC
I probably did not explain myself properly; of course you could /check/ with fuser if the device is busy (even if sometimes it doesn't quite work), but I fear we can't use it in this situation since we would need to poll the device every so often -which is not really desirable- and this could (possibly) prevent devices to go to sleep and such...
Comment 4 Dotan Cohen 2010-05-30 09:54:26 UTC
> we would need to poll the device
> every so often

Not every so often, just when the user opens the Device Notifier plasmoid. I think that's reasonable.
Comment 5 Nate Graham 2018-06-08 20:10:01 UTC
Hello!

This feature request was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this feature request is already implemented in Plasma 5, or is no longer applicable.

Accordingly, we hope you understand why we must close this feature request. If the requested feature is still desired but not implemented in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham