Bug 418944 - Impossible to eject via device notifier a rewritable disc erased with K3b if "Do not eject medium after write process" option is enabled in K3b settings
Summary: Impossible to eject via device notifier a rewritable disc erased with K3b if ...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (other bugs)
Version First Reported In: 5.18.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-16 21:21 UTC by Patrick Silva
Modified: 2023-05-13 16:48 UTC (History)
1 user (show)

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


Attachments
screenshot (235.89 KB, image/png)
2020-03-16 21:21 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-03-16 21:21:09 UTC
Created attachment 126838 [details]
screenshot

STEPS TO REPRODUCE
1. insert a non-empty rewritable disc (I used a CD-RW)
2. mount the just inserted rewritable disc with Dolphin and do NOT close Dolphin
3. open K3b and enable "Do not eject medium after write process" option in "Advanced" section of its settings
4. click on "Format" button below the menu bar of K3b, check "Quick format" (also select "Force" if you are using a rewritable DVD) and click on "Start" button
5. when erasing is completed, switch to Dolphin window and try to eject the just erased disc via the device notifier

OBSERVED RESULT
notice that the button of the device notifier related to your optical device says "Click to access this device from other applications" instead of "Click to eject this disc" on mouseover. When you click on such button, Dolphin shows
an error message on top and device notifier says "Could not mount this device". See the attached screenshot please.

EXPECTED RESULT
we should be able to eject the erased disc via the device notifier

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
bug 417199 is related
Comment 1 Nate Graham 2020-11-26 03:37:38 UTC
I suspect that K3B sets some kind of hold on the disc at the systctl level which the applet cannot override, but I have absolutely no proof whatsoever of this and it could be completely wrong. :)
Comment 2 Patrick Silva 2023-05-13 16:48:58 UTC
Cannot eject blank/non-mounted discs via Disks & devices applet regardless the steps provided here. See bug 469706