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 301261 - No Disk Error on Win32 on call of gtk_init_check
No Disk Error on Win32 on call of gtk_init_check
Status: RESOLVED DUPLICATE of bug 170948
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.6.x
Other Windows
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-04-20 02:17 UTC by Kevin Stange
Modified: 2005-04-21 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin Stange 2005-04-20 02:17:00 UTC
This is a major bug that affects GIMP, Gaim, and all other GTK+ based
applications I was able to test on Windows.  I am running Windows XP SP2 with
GTK+ 2.6.7, but I believe this bug has larger scope, including all GTK 2.4, GTK
2.6 and WinNT-based systems.

The synopsis of this bug is that upon the launch of any GTK+ program the error
message immediately appears: "Windows - No Disk", "There is no disk in the
drive.  Please insert a disk into drive (some windows device)."

Pressing cancel or continue will allow the application to start.  Gaim shows
this error dialog twice, as does gtk-demo.exe.  I have verified that the error
is triggered in Gaim when the functions gtk_widget_get_accessible or
gtk_init_check are called.  In the case of gtk_widget_get_accessible, it is
called several dozen times in Gaim, and the error only occurs at the first call;
never after that.  gtk_init_check logically is only called once. 

As for the conditions which cause this problem:  Typically a Windows system
which has a USB card reader or other removal USB device connected that does not
currently contain media at the time of application startup will cause the No
Disk message.  I found that in my device manager I have a device heirarchy:

USB Root Hub
 - USB Composite Device
   - USB Mass Storage Device
     - Canon MP Memory Card USB Device
       - Generic Volume

Disabling the Generic Volume (or any higher device which disables it in turn) or
removing the drive letter mapping in the Disk Management administration tool
stops the error from occurring, but for many users this prospect is not acceptable.

This is 100% reproducible, definitely occurs within the GTK codebase, and
troubles a lot of Gaim and GIMP users.
Comment 1 Kevin Stange 2005-04-20 06:09:23 UTC
Component -> win32, and GNOME Version -> Unspecified, my mistakes.

This is of course basically bug 170948 (didn't show up in a normal search since
NEEDINFO isn't searched by default), but I think this one is demonstrable
evidence that this is a GTK+ problem, not an application problem, and it needs
to be fixed here.
Comment 2 Kevin Stange 2005-04-20 06:49:05 UTC
Posting some additional information for general consumption.  Floppy and Zip
drives without disks as well as card readers that are empty will return this
same error dialog when you attempt to access them using the new file picker
(from the list on the left side).
Comment 3 Kevin Stange 2005-04-21 21:58:36 UTC

*** This bug has been marked as a duplicate of 170948 ***