Bug 114854

Summary: cdrom won't eject when "konsole" is open at /mnt/cdrom
Product: [Frameworks and Libraries] kio Reporter: Mohd Asif Ali Rizwaan <maarizwan>
Component: mediaAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mohd Asif Ali Rizwaan 2005-10-22 02:31:10 UTC
Version:           unknown (using KDE 3.4.92 (beta2, >= 20051010), compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i686) release 2.6.11.7

if we open konsole by pressing f4, and cd to anywhere else say /tmp, even then we can't eject/unmount the cdrom.

How to reproduce:

1. insert a data cd
2. mount /mnt/cdrom
3. alt+f2 and run "/mnt/cdrom" (open in konquror)
4. press f4 (to open konsole in /mnt/cdrom)
5. in konsole, type "cd /tmp"
6. close konqueror
7. on Desktop RMB CDROM->eject

8. it won't eject unless the konsole window is closed, whose PWD is was /mnt/cdrom. Even if we change the PWD to something else like /var, etc., we can't eject/unmount the cdrom.

9. it seems that konsole is locking the cdrom.


Expected Behavior:
------------------
Suggest which application or instance to be closed to successfully eject the cdrom. If possible allow "automatically close the applications which have locked the cdrom" option.

thanks.
Comment 1 Kevin Ottens 2006-06-12 12:31:55 UTC
SVN commit 550578 by ervin:

Merge coolo's branch, it contains quite some fixes and interesting 
features. It'll be available in KDE 3.5.4, couldn't be committed before,
but thanks to the partial feature unfreeze...

FEATURE:
BUG: 50185
BUG: 105482
BUG: 108823
BUG: 114854
BUG: 120619
BUG: 121833
BUG: 127788
CCMAIL: coolo@kde.org


 M  +3 -2      Makefile.am  
 M  +7 -0      configure.in.in  
 M  +2 -2      kcmodule/managermodule.cpp  
 M  +4 -3      kcmodule/notifiermodule.cpp  
 M  +1 -1      kfile-plugin/kfile_media.desktop  
 M  +7 -2      kfile-plugin/kfilemediaplugin.cpp  
 M  +4 -0      libmediacommon/medium.cpp  
 M  +20 -1     libmediacommon/medium.h  
 M  +14 -1     mediaimpl.cpp  
 M  +643 -41   mediamanager/halbackend.cpp   [POSSIBLY UNSAFE: popen]
 M  +20 -0     mediamanager/halbackend.h  
 M  +72 -9     mediamanager/mediamanager.cpp  
 M  +8 -0      mediamanager/mediamanager.h  
 M  +6 -3      medianotifier/medianotifier.cpp  
 M  +1 -1      mounthelper/Makefile.am  
 M  +32 -19    mounthelper/kio_media_mounthelper.cpp  
 AM            propsdlgplugin (directory)   branches/work/coolos_media/propsdlgplugin#549689