Bug 402164 - Ejecting a CD/DVD ROM immediately closes tray
Summary: Ejecting a CD/DVD ROM immediately closes tray
Status: RESOLVED DUPLICATE of bug 398465
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-15 18:36 UTC by Kristopher Ives
Modified: 2018-12-18 04:50 UTC (History)
2 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 Kristopher Ives 2018-12-15 18:36:15 UTC
SUMMARY
Ejecting a CD/DVD drive causes it to open and immediately closes the tray as if something is repeatedly issuing a "close" command to the CD/DVD ROM drive.

STEPS TO REPRODUCE
1. Press the Eject option in Dolphin or run the `eject` command

OBSERVED RESULT
Tray opens and then immediately closes.

EXPECTED RESULT
Tray should open and stay open long enough to take a disc out, usually automatically closed by the hardware itself or until the user presses the eject button again.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
This started on /r/kde on Reddit via this discussion: https://www.reddit.com/r/kde/comments/a69sec/kde_doesnt_leave_my_cdrom_tray_open/

We observed that it does *not* happen if you exit KDE and run the `eject` command manually. It does happen if you run the `eject` command while inside a KDE session. Also does not happen in other non-KDE based distros such as Ubutnu 18.04

Sorry if the location of this bug is invalid it's hard to find the right place for such a bug in KDE.
Comment 1 Kristopher Ives 2018-12-15 18:43:41 UTC
Sorry I left out some details in the initial comment, here they are from the OP:


    KDE neon: 5.14
    KDE Plasma: 5.14.4
    Frameworks: 5.53.0
    Qt Ver: 5.11.2
    Kernel: 4.15.0-42-generic
Comment 2 Nate Graham 2018-12-16 22:58:23 UTC
Check out https://wiki.archlinux.org/index.php/Optical_disc_drive#Disc_tray_autocloses

*** This bug has been marked as a duplicate of bug 398465 ***
Comment 3 Kristopher Ives 2018-12-17 19:45:22 UTC
Thanks Nate.

The sysctl workaround solved the Redditor's problem. Any reason why this happens with KDE but not other distros?
Comment 4 Nate Graham 2018-12-18 04:50:39 UTC
No idea, sorry. If it does indeed happen with KDE but not other DEs, then maybe there is indeed a problem for us to solve. I'll re-open 398465.