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 135985 - should warn about available size
should warn about available size
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
: 148811 149500 (view as bug list)
Depends on: 148274
Blocks:
 
 
Reported: 2004-03-02 17:22 UTC by Paolo Borelli
Modified: 2005-01-07 21:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch cheking for size, asking to replace (or overburn if diff is only 5MiBs) and replacing ncb_hig_dialog for the new gtk (13.66 KB, patch)
2004-11-05 22:42 UTC, Fernando Herrera
none Details | Review
updated patch (7.47 KB, patch)
2005-01-05 23:32 UTC, William Jon McCann
accepted-commit_now Details | Review

Description Paolo Borelli 2004-03-02 17:22:24 UTC
The cd burner windows should somehow not allow the user to try to burn
2Giga onto one cd. Dunno if the best way is a warning saying that the
amount of data exceeds the media capacity or what.

This is especially true in the new spatial windows since IIRC there is no
clue of how much data you currently have.
Comment 1 Bastien Nocera 2004-07-29 19:54:25 UTC
We can already detect the capacity of any CD/DVD media. We just need to hook all
of this up.
Comment 2 Bastien Nocera 2004-07-29 22:23:13 UTC
*** Bug 148811 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Noel 2004-08-06 15:00:19 UTC
*** Bug 149500 has been marked as a duplicate of this bug. ***
Comment 4 Hubert Figuiere (:hub) 2004-10-20 19:44:48 UTC
perhaps it would be nice to have the current size displayed in real time (the
size of the data to be burnt) in the status bar. For now I have to select all
and choose "Properties". Or I miss something.
Comment 5 Fernando Herrera 2004-11-05 22:42:19 UTC
Created attachment 33484 [details] [review]
Patch cheking for size, asking to replace (or overburn if diff is only 5MiBs) and replacing ncb_hig_dialog for the new gtk
Comment 6 William Jon McCann 2005-01-05 20:04:32 UTC
Comments on the patch.  I think it is better to fix the ncb_hig_dialog to use
the new gtk_message_dialog_format_secondary_text() API rather than remove the
function altogether.  I think it is also necessary to sanity check the size
before writing the ISO image (in addition to after).  There is no point making
the user wait while creating a 10GiB ISO that can't be written anywhere.  I'll
try to update this.
Comment 7 William Jon McCann 2005-01-05 23:32:31 UTC
Created attachment 35514 [details] [review]
updated patch

Prompts for media insertion before creating ISO image.
Comment 8 Bastien Nocera 2005-01-07 21:16:03 UTC
Comment on attachment 35514 [details] [review]
updated patch

If you tested it, feel free to commit.
Comment 9 William Jon McCann 2005-01-07 21:39:31 UTC
2005-01-07  William Jon McCann  <mccann@jhu.edu>

	* make-iso.c (ask_disable_joliet, nautilus_burn_make_iso):
	Use gtk_message_dialog_format_secondary_text API.

	* nautilus-cd-burner.c (ncb_hig_dialog):
	Use gtk_message_dialog_format_secondary_text API.
	(ask_for_media, insert_media_request_cb, burn_cd, main):
	Ask the user to replace the in-drive media if data size is bigger
	than media size (and he hasn't the gconf overburn set). If
	difference is only 5 MiBs show a button to overburn it.  Also show
	the required size in the insert disc dialog.
	Based on patch from Fernando Herrera  <fherrera@onirica.com>
	(Closes: #135985)