! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfburn asks an unlimited number of times to erase disk
Status:
RESOLVED: FIXED

Comments

Description Lionel Le Folgoc 2009-09-21 19:15:25 CEST
Hi,

Xfburn asks an unlimited number of times if you want to erase a disk when you insert a used cd or dvd-rw. For every question it also opens a "blank disk" window.

Thanks.
Comment 1 Lionel Le Folgoc 2009-09-21 19:18:24 CEST
Maybe it's due to development versions of gtk/glib:
gtk -> 2.17.11
glib -> 2.21.6

I don't know what I can provide to give more info (strace maybe?).
Comment 2 David Mohr 2009-09-22 03:24:26 CEST
Thanks for the report, this is an annoying problem!

This does not seem to be a problem with development gtk/glib versions, on my system with 
glib 2.20.5-1
gtk 2.16.6-1
I'm able to reproduce the problem.

It seems to be a problem with glib though. Read on if you want technical details.

The DevicBox, which is what asks for blanking, uses a property called BLANK_MODE. The blanking dialog sets BLANK_MODE so that the DeviceBox does not ask to blank the disc. But somehow the property is only set AFTER the device box is initialized. This should not be the case per glib documentation (see the description of a constructor for GObject). I'll investigate further, but it could take a little while because tracking down bugs in glib take some effort.
Comment 3 David Mohr 2009-09-24 00:08:17 CEST
Ok, it's not a bug with glib, but with xfburn. It only appeared right now, because glib used to handle object properties a bit more liberal than documented.

It's fixed in master now:

commit 78995b7eee0acde27bd0ea41137a7635174d362e
Author: David Mohr <squisher@xfce.org>
Date:   Wed Sep 23 18:02:43 2009 -0600

    Mark constructor properties, make some constructor_only
Comment 4 Lionel Le Folgoc 2009-09-24 09:25:54 CEST
Yep, it works as expected, thanks!

Bug #5779

Reported by:
Lionel Le Folgoc
Reported on: 2009-09-21
Last modified on: 2009-09-24

People

Assignee:
Xfburn Bug Triage
CC List:
1 user

Version

Attachments

Additional information