Bug 270422

Summary: mounting a floppy disk does not work under KDE
Product: [Applications] dolphin Reporter: Christopher Yeleighton <giecrilj>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: leveillerems
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Yeleighton 2011-04-08 10:35:01 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Dolphin allows you to create a shortcut to a floppy drive.  It has a nice icon but otherwise it is otherwise useless.

Reproducible: Always

Steps to Reproduce:
  1. Declare the floppy drive to be user-mountable in /etc/fstab:
  2. Tell Dolphin to create a shortcut to the floppy drive.
  3. Insert a floppy disk into the floppy drive.
  4. Tell the shortcut to mount.

Actual Results:  
  1. /dev/fd0 /media/floppy auto user,noauto  0 0
  2. 
[Desktop Action Format]
Exec=kfloppy %v
Name=Format

[Desktop Entry]
Actions=Format;
Dev=/dev/fd0
Icon=media-floppy
MountPoint=/media/floppy
ReadOnly=false
Type=FSDevice
X-KDE-Priority=TopLevel
  4. A notification with no text; the floppy is not mounted.
Additionally, the following error:
dolphin(6548)/kdecore (services) KServicePrivate::init: The desktop entry file  "Floppy Disk"  has Type= "FSDevice"  instead of "Application" or "Service" 


Expected Results:  
  3. KDE should mount the floppy disk.

OS: Linux (x86_64) release 2.6.37.1-1.2-desktop
Compiler: gcc

Workaround:

[Desktop Action Open]
Exec=kioclient exec /media/floppy #
Name=Open
Name[pl]=Otwieram

[Desktop Action Mount]
Exec=udisks --mount %v
Name=Mount
Name[pl]=Dosiadam

[Desktop Action Unmount]
Exec=udisks --unmount %v
Name=Unmount
Name[pl]=Zsiadam

[Desktop Entry]
Actions=Open;Mount;Unmount;
Dev=/dev/fd0
Icon=media-floppy
MountPoint=/media/floppy
ReadOnly=false
Type=Service
X-KDE-Priority=TopLevel
Comment 1 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:18:33 UTC
Resetting assignee to default as per bug #305719
Comment 2 Frank Reininghaus 2013-04-23 15:53:49 UTC
Does this problem still exist in KDE 4.10?
Comment 3 Frank Reininghaus 2013-05-24 08:31:10 UTC
No respsonse -> I assume that it works now.
Comment 4 Jekyll Wu 2013-10-18 01:50:48 UTC
*** Bug 326141 has been marked as a duplicate of this bug. ***