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 526039 - Dismiss blank CD dialog when burning has already started
Dismiss blank CD dialog when burning has already started
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 496610 554827 579026 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-03 19:19 UTC by Andreas Nilsson
Modified: 2021-07-05 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Nilsson 2008-04-03 19:19:12 UTC
Nautilus asks me what I want to do, even though I have already started the process of burning a iso.
Steps to reproduce:
1. Insert a blank CD
2. Double click a iso-file (or right click and select Burn to Disk)
3. The "Write to disk" window pops up
4. At the same time, the system have sensed that there is a blank disk in the CD drive, popping up a dialog in front of the first window asking me what I want to do (even though I have already chosen that).
Comment 1 Bastien Nocera 2008-12-16 09:51:58 UTC
nautilus-cd-burner has no ways to dismiss that window programmatically. Same problem exist when rhythmbox or totem was already started before plugging in an audio player, or inserting a DVD.
Comment 2 Bastien Nocera 2008-12-17 11:18:46 UTC
*** Bug 496610 has been marked as a duplicate of this bug. ***
Comment 3 Cosimo Cecchi 2009-02-11 01:00:28 UTC
*** Bug 554827 has been marked as a duplicate of this bug. ***
Comment 4 Chris Jones 2009-03-31 23:48:16 UTC
Could dbus be the answer here? Each variant of CD playing/burning software could listen on a particular bus name that corresponds to the media in question. Other apps would be able to see that something else was using the CD, and if they are particularly smart, they would be able to behave sanely
(e.g. if totem is already playing the DVD before the auto-ask window is *auto*-launched, do nothing, but if the user *manually* launches something for the media, the other app can be notified via DBUS that it's potentially not wanted/needed anymore)
Comment 5 oliver.steven 2012-08-20 14:06:09 UTC
(In reply to comment #4)
> Could dbus be the answer here? Each variant of CD playing/burning software
> could listen on a particular bus name that corresponds to the media in
> question. 
Why can't/wouldn't it work the other way around? It seems more rational to me that the OS would check to see Rhythmbox is already running before popping up a notification to open Rhythmbox.
Comment 6 Bastien Nocera 2013-03-28 07:08:27 UTC
*** Bug 579026 has been marked as a duplicate of this bug. ***
Comment 7 Bastien Nocera 2013-04-18 06:47:21 UTC
Automount dialogue is in gnome-shell now.
Comment 8 Isaac Ge 2015-03-26 13:01:56 UTC
Let me try to fix this bug, I will study D-Bus!
Comment 9 Isaac Ge 2015-04-01 06:41:49 UTC
I think out two solutions:

1. Why do not make the notification like the normal notification which will be disappeared automatically after some seconds? Of course, the source the in Message Tray can be remained until the media is removed.
2. Do as what does Chris Jones says. Create a dbus connection in gnome-shell which monitoring is there any application which is using the relevant media. Firstly, we will pop a notification when there is a new media entered, then wait some seconds, check the connection. If the connection say yes there is an application is using the media, we let the notification and source disappear, otherwise keep it remain.

Any idea? Thank you!
Comment 10 graviton 2018-04-02 15:21:07 UTC
Glad to see some people are still trying to work on this issue. 

As far as I know, the problem behind this bug may also affect plug-in usb device, mobile device, etc.

I notice some suggestions from bug 579026, though not sure whether they will eventually work:
I think so. Maybe it would be to have a way to lock one or all of a GVolumeMonitor, GDrive, GVolume or GMount instead. Or have Nautilus export some simple API to do this.
https://bugzilla.gnome.org/show_bug.cgi?id=579026
Comment 11 GNOME Infrastructure Team 2021-07-05 14:43:48 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.