After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 125819 - Unable to format from the desktop w/o mounting the disk
Unable to format from the desktop w/o mounting the disk
Status: RESOLVED OBSOLETE
Product: gnome-utils
Classification: Deprecated
Component: gfloppy
2.4.x
Other Linux
: High major
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-10-30 05:02 UTC by Vijaykumar Patwari
Modified: 2009-11-09 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The patch fixes the bug. (6.56 KB, patch)
2003-11-07 11:11 UTC, Vijaykumar Patwari
needs-work Details | Review
nautilus patch to remove the format option in mounted floppy (445 bytes, patch)
2006-04-26 21:24 UTC, Xavier Claessens
needs-work Details | Review
patch against HEAD (1.15 KB, patch)
2006-04-28 11:07 UTC, Xavier Claessens
none Details | Review

Description Vijaykumar Patwari 2003-10-30 05:02:10 UTC
Steps to reproduce:

1)Mount a floppy disk

2)Right click on the floppy icon that appears on desktop

3)Click on Format option,

This does not function because the floppy is mounted.

This is the only way the format option can be accessed on floppy icon.

Should we provide any other option to do so?.
Comment 1 Vijaykumar Patwari 2003-10-31 13:05:44 UTC
Right click on floppy icon on desktop, choose Format option, nautilus
invokes gfloppy to format it. Since floppy is already mounted, gfloppy
throws an error and terminates. But when the user Unmounts, the floppy
icon on desktop disappears. Since Formating by making right click on
desktop icon can not be done, providing an Format option for desktop
icon by nautilus appears to be of no use. Either nautilus should not
provide this option or gfloppy should do one of the following when
right click->format option is chosen for an desktop icon,

	
Case 1) gfloppy should unmount floppy and then format.

Case 2) A check box be provided in gfloppy UI having an option to
re-mount after formatting? Choosing re-mount option, it has to
Unmount->format->re-mount the floppy.

Case 3) A dialog should popup indicating  "Device already mounted, Do
you want to unmount?" with "Ok" or "Cancel"  buttons?. If Ok button is
clicked then it should unmount and format it. 
	One more question arises here, Should it re-mount it?


Other than using desktop icon of floppy to format is
	
	user has to unmount manually (if already mounted), then invoke Floppy
Formatter (Applicatins->System tools->Floppy Formatter) and start
format.
Comment 2 Vijaykumar Patwari 2003-11-07 11:11:24 UTC
Created attachment 21268 [details] [review]
The patch fixes the bug.
Comment 3 Glynn Foster 2003-11-10 01:16:14 UTC
Stef, can you have a look at this please?
Comment 4 Stéphane Démurget 2004-01-04 19:32:44 UTC
My apologies, I didn't see this one in my mail. I am currently
checking the patch.
Comment 5 Stéphane Démurget 2004-01-05 10:32:13 UTC
I've sent a mail to Alex Larsson about the new gnome-vfs-volume
handling, because this bug may not be relevant for Gnome 2.5 (because
volume-management is now centralized in the "My Computer" method).

I asked him if he could provide a "Format" menu item when the device
isn't mounted or the way he thinkgs we should implement this.
Comment 6 Glynn Foster 2004-04-26 04:10:30 UTC
Comment on attachment 21268 [details] [review]
The patch fixes the bug.

I don't want to put in this patch based on the comments from Stef. We need to
rethink this patch and see how it aligns with the new computer location/volume
management proposal.
Comment 7 Khasim Shaheed 2005-01-06 05:10:30 UTC
There is no format option when i right click on the floppy icon present on
desktop after mounting. The version of GNOME i am using is 2.9(cvs head) and the
operating system is Novell Linux Desktop. The only way i can format a floppy is
using gfloppy.
Comment 8 Xavier Claessens 2006-04-26 21:24:42 UTC
Created attachment 64354 [details] [review]
nautilus patch to remove the format option in mounted floppy

I confirme that there is no "Format" option anymore in when I right click on the floppy icon on the desktop, using GNOME 2.14.1. But it is still present on the floppy icon in computer:///

This patch remove the format option if the drive is mounted.
Comment 9 Christian Neumair 2006-04-27 18:15:10 UTC
Xavier: I'm marking attachment 64354 [details] [review] as needs-work, because you'll also have to patch FMDirectoryView. Note that due to recent changes the patch for HEAD will be different from the patch for the gnome-2-14 branch. For HEAD, you'll also have to add similar code to file_should_show_self.
Comment 10 Xavier Claessens 2006-04-28 11:07:07 UTC
Created attachment 64462 [details] [review]
patch against HEAD

Here is the patch for nautilus HEAD.

Christian: Don't understand what you mean, my patch is for FMDirectoryView...
Comment 11 Alexander Larsson 2006-05-16 10:55:24 UTC
I think christian meant nautilus-places-sidebar.c too. I commited the HEAD patch with that added. However, it seems better to me if gfloppy could unmount the floppy before formating. When that is added we should revert the nautilus patch.

Comment 12 Daniel Holbach 2006-06-02 08:52:56 UTC
This bug was reported at https://launchpad.net/distros/ubuntu/+source/gnome-utils/+bug/47934 as well.
Comment 13 Emmanuel Andry 2006-12-04 19:57:11 UTC
And I also reported it for Mandriva :
http://qa.mandriva.com/show_bug.cgi?id=24590
Comment 14 Emmanuele Bassi (:ebassi) 2009-11-09 12:03:05 UTC
thanks for your bug report.

GFloppy has been removed from the GNOME Utilities since the 2.28.0 release, and replaced by the GNOME Disk Utility.