Bug 473889 - k3b fails to eject disks
Summary: k3b fails to eject disks
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 23.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-29 10:50 UTC by Andreas Sturmlechner
Modified: 2023-09-25 07:41 UTC (History)
4 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 Andreas Sturmlechner 2023-08-29 10:50:39 UTC
I tried with an AudioCD as well as a DVD, eject simply does nothing.

Operating System: Gentoo 2.14
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.1.45-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62,7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Product Name: X570 Phantom Gaming-ITX/TB3
Comment 1 Andreas Sturmlechner 2023-08-29 10:51:02 UTC
(while it is working fine using dolphin)
Comment 2 Patrick Silva 2023-08-29 13:12:51 UTC
Can reproduce with K3b 23.08 on Arch Linux. "Eject" option from "Device" menu does not eject the disc.
Comment 3 Albert Astals Cid 2023-08-29 22:43:34 UTC
I know it's not very useful, but "works for me"
Comment 4 Patrick Silva 2023-08-29 23:02:49 UTC
I can reproduce if there is a disc inside the optical device, but cannot if the optical device is empty.
Comment 5 Bug Janitor Service 2023-09-10 19:40:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/k3b/-/merge_requests/53
Comment 6 Albert Astals Cid 2023-09-10 19:40:39 UTC
Are you able to test https://invent.kde.org/multimedia/k3b/-/merge_requests/53/diffs ?

Works for me would would be great to have more than 1 person reporting success :D
Comment 7 Patrick Silva 2023-09-10 20:22:29 UTC
(In reply to Albert Astals Cid from comment #6)
> Are you able to test
> https://invent.kde.org/multimedia/k3b/-/merge_requests/53/diffs ?
> 
> Works for me would would be great to have more than 1 person reporting
> success :D

I have just tested the patch on Arch Linux. It fixes the bug.
Comment 8 Albert Astals Cid 2023-09-25 07:15:22 UTC
Git commit 08db5799842cec69790ee39e20b15621c284df69 by Albert Astals Cid.
Committed on 25/09/2023 at 09:12.
Pushed by aacid into branch 'master'.

Fix ejecting when there's a disk on the drive

M  +18   -13   libk3bdevice/k3bdevice.cpp

https://invent.kde.org/multimedia/k3b/-/commit/08db5799842cec69790ee39e20b15621c284df69
Comment 9 Albert Astals Cid 2023-09-25 07:41:37 UTC
Git commit c8c74d5c307ef41a6a4f9ed882e7702fdc8ea140 by Albert Astals Cid.
Committed on 25/09/2023 at 09:38.
Pushed by aacid into branch 'release/23.08'.

Fix ejecting when there's a disk on the drive
(cherry picked from commit 08db5799842cec69790ee39e20b15621c284df69)

M  +18   -13   libk3bdevice/k3bdevice.cpp

https://invent.kde.org/multimedia/k3b/-/commit/c8c74d5c307ef41a6a4f9ed882e7702fdc8ea140