Bug 251156 - New Device Link does not list optical devices
Summary: New Device Link does not list optical devices
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 23:05 UTC by Christopher Yeleighton
Modified: 2013-12-02 20:58 UTC (History)
1 user (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 Christopher Yeleighton 2010-09-13 23:05:13 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

When I try to create a link to my DVD recorder device, the device combo box does not contain the device.

Reproducible: Always

Steps to Reproduce:
1. 
Tell Dolphin to create a new CD Recorder device link.

2. 
Choose the Device tab and expand the Device choice pop-up menu.

Actual Results:  
1.
Dolphin displays a device link properties window named CDWRITER-Device.desktop.

2. 
Hard disks and irrelevant devices, e.g. proc and sysfs (!).

Expected Results:  
2. 
The CD Recorder device (/dev/sr0).

OS: Linux (x86_64) release 2.6.34-12-desktop
Compiler: gcc

As a workaround, I can just type the device into the box.
Comment 1 Christopher Yeleighton 2010-09-13 23:11:11 UTC
The link thus created contains the following keyword:

UnmountIcon=cdwriter_unmount

That causes the link to appear as a question mark because such an icon does not exist in KDE4.
Comment 2 David Faure 2010-10-22 03:01:08 UTC
SVN commit 1188323 by dfaure:

Fix a bunch of icon names, and remove UnmountIcon (done by an overlay/emblem, nowadays)
CCBUG: 251156


 M  +1 -2      CAMERA-Device.desktop  
 M  +0 -1      CDROM-Device.desktop  
 M  +0 -1      CDWRITER-Device.desktop  
 M  +0 -1      DVDROM-Device.desktop  
 M  +1 -2      Floppy.desktop  
 M  +0 -1      HD.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1188323
Comment 3 David Faure 2010-10-22 20:29:40 UTC
The list of devices shown in the properties dialog comes from /etc/fstab, that's why you're seeing your partitions and not /dev/sr0 if it's not there.

But then you can't mount it, can you? (unless you run KDE as root)

(If you get an error even when it's in fstab, that's because of bug 172023, which I just fixed.)
Comment 4 Christopher Yeleighton 2010-10-23 11:01:52 UTC
The CD-ROM drive is not in registered in static fstab because:
  1. Solid had problems with handling removable media when I put it there.
  2. YaST refuses to consider removable media drives for static configuration.

I cannot mount removable media using the shortcut but Solid does it for me.  I only use the shortcut to pull the tray.  This gives me an error message from mount.  However, it is still better than not being able to pull the tray at all.  (Pulling the tray should be handled by the Device Notifier but it is not.)
Comment 5 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:22:30 UTC
Resetting assignee to default as per bug #305719
Comment 6 Frank Reininghaus 2013-04-25 20:38:31 UTC
Is this still an issue in more recent versions of KDE?
Comment 7 Frank Reininghaus 2013-05-24 08:30:25 UTC
No response -> I assume that it works now.
Comment 8 Christopher Yeleighton 2013-12-02 20:58:37 UTC
I can have /dev/sr0 in fstab with no side effects now.