Bug 164255 - eject button doesn't work anymore
Summary: eject button doesn't work anymore
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 176983 190032 193517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-16 23:36 UTC by giuseppe
Modified: 2009-09-25 14:15 UTC (History)
5 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 giuseppe 2008-06-16 23:36:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3 
OS:                Linux

Eject button for expell dvd
and cd doesn't work anymore
on kde4.1
I paste the lshal info
Insert a dvd..

23:35:16.120: storage_model_DVD_DC_16X8X5 property storage.removable.media_available = true
23:35:16.137: storage_model_DVD_DC_16X8X5 property storage.cdrom.write_speeds = {'5540', '3324'}
23:35:16.140: storage_model_DVD_DC_16X8X5 property storage.cdrom.write_speed = 5540 (0x15a4)
23:35:16.140: storage_model_DVD_DC_16X8X5 property storage.cdrom.read_speed = 16620 (0x40ec)
23:35:16.287: volume_label_copertine added

Then i browse it with dolphin

23:36:00.094: volume_label_copertine property volume.mount_point = '/media/copertine'
23:36:00.097: volume_label_copertine property volume.is_mounted_read_only = true
23:36:00.098: volume_label_copertine property volume.is_mounted = true

I press eject button and...
23:36:50.132: storage_model_DVD_DC_16X8X5 condition EjectPressed =

nothin happens.
Comment 1 giuseppe 2008-12-10 19:34:47 UTC
Latest kde beta(4.1.82)
Still not eject button!
:(
Comment 2 giuseppe 2009-01-07 04:24:49 UTC
4.1.87
no eject!
kde3 eject...
:(

Comment 3 Dario Andres 2009-01-07 15:55:43 UTC
Is the DVD eject button (drive's button) not working after browsing the DVD/CD contents with Dolphin. 
Can't it be ejected using the "eject icon" in the Device Notifier plasmoid in the panel?
Comment 4 giuseppe 2009-01-07 16:13:06 UTC
"Is the DVD eject button (drive's button) not working after browsing the DVD/CD
contents with Dolphin. "
Yes
"Can't it be ejected using the "eject icon" in the Device Notifier plasmoid in
the panel?"
Yes
But working eject button like kde3
was better 
Comment 5 Dario Andres 2009-01-07 18:12:14 UTC
*** Bug 176983 has been marked as a duplicate of this bug. ***
Comment 6 giuseppe 2009-02-23 18:25:26 UTC
Now with kde 4.2
on slackware current work!
Comment 7 Kevin Ottens 2009-02-23 18:32:16 UTC
Are you sure? I didn't write any code to support that yet. :-)
Comment 8 giuseppe 2009-02-23 20:02:58 UTC
Yes work,i don't know how..
but works.
I have mounted a dvd iso with
dolphin,enter and navigated.
Then i push eject and..voilà
,it work!
Comment 9 Kevin Ottens 2009-02-23 20:05:56 UTC
Well, not for me on openSUSE. That might be a slackware specific thing. Let's reopen. :-)
Comment 10 Michal Krenek (Mikos) 2009-02-24 10:35:48 UTC
I can confirm it. Eject button in KDE 4.2 doesn't work (this is on Arch Linux with KDEmod).

I have tried dbus-monitor --system and EjectPressed signal is correctly emitted, so this is clearly KDE fault (and it did work in KDE 3, so it is regression). Please fix it, this is really basic and important feature.
Comment 11 Kevin Ottens 2009-02-27 19:01:37 UTC
SVN commit 932981 by ervin:

Add a small kded module whose responsibility is to eject optical drives
when an eject press has been detected on them.

BUG: 164255


 M  +1 -0      CMakeLists.txt  
 A             solidautoeject (directory)  
 A             solidautoeject/CMakeLists.txt  
 A             solidautoeject/Messages.sh  
 A             solidautoeject/solidautoeject.cpp   [License: LGPL (v2)]
 A             solidautoeject/solidautoeject.desktop  
 A             solidautoeject/solidautoeject.h   [License: LGPL (v2)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=932981
Comment 12 giuseppe 2009-03-10 19:29:53 UTC
Kde 4.2.2 will have the eject
function or only for kde 4.3?
Comment 13 giuseppe 2009-03-10 20:05:25 UTC
With kde 4.2.1 and
the new kdeeject module
from svn works.
You have to put the folder
"solidautoeject" from svn
on kdebase-runtime sources(4.2.1)
and the CMakeLists.txt  from svn
(delete line number 44 if give error
when ccmake)
Then ccmake . on kdebase-runtime
configure and enter on solidautoeject
give make and make install,restart
kde..and will work!
Bug resolved?
Comment 14 Kevin Ottens 2009-03-11 08:53:21 UTC
Yes, that's implemented an will be shipped with KDE 4.3.
Comment 15 Pino Toscano 2009-04-19 12:10:04 UTC
*** Bug 190032 has been marked as a duplicate of this bug. ***
Comment 16 Pino Toscano 2009-05-21 16:20:50 UTC
*** Bug 193517 has been marked as a duplicate of this bug. ***
Comment 17 karaluh 2009-09-24 15:45:19 UTC
Please reopen, it doesn't work in 4.3.1
Comment 18 Michal Ziabkowski 2009-09-24 16:11:43 UTC
Actually, I've just checked that in 4.3.1 and it works for me. I inserted a dvd, browsed through it, pressed eject on the drive. The medium was unmounted and ejected. So it seems to work provided nothing is using the disc, e.g. a Konsole session.

Are you sure you have the autoeject module enabled?
Comment 19 giuseppe 2009-09-24 18:12:26 UTC
Kde 4.3.1 works fine
,if doensn't work check
hal configuration files,
reinstall clean if needed.
Comment 20 karaluh 2009-09-25 10:19:37 UTC
Ok, it works, but doesnt work when the drive is bussy. To reproduce:
1. Insert CD/DVD disk,
2. Click on it in Device Notifier,
3. When Dolphin starts and reads the CD and led on the drive starts to blink, pres eject,
4. Nothing happens.
Eject will work, when Dolphin finishes reading the disk and led stops blinking.
Comment 21 Michal Ziabkowski 2009-09-25 13:47:54 UTC
I think that's the expected behaviour. I mean, ejecting a disc when it's used isn't the wisest idea. And how often do you need actually mount a disk to eject it instantly, when it's still read?
Comment 22 karaluh 2009-09-25 14:04:17 UTC
I agree, but not ejecting the CD without any notice looks broken. If not ejecting CD's that are curently used is made by design, then I suggest a notification, maybe with "force eject" buton.
Comment 23 Michal Ziabkowski 2009-09-25 14:15:51 UTC
Well, that much is true. In comparison, the device notifier applet displays an error message about the medium being in use. Then again, modal dialogs are said to be evil :)