Bug 114854 - cdrom won't eject when "konsole" is open at /mnt/cdrom
Summary: cdrom won't eject when "konsole" is open at /mnt/cdrom
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 02:31 UTC by Mohd Asif Ali Rizwaan
Modified: 2006-06-12 12:31 UTC (History)
0 users

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 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