drag and drop problem

Allin Cottrell <[email protected]> Wed, 26 Mar 2003 08:57:12 -0500 (EST)
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
I wonder if the following rather odd problem rings any bells with
anyone.

My app's main window offers two drag targets: it will accept
text/uri-list (intended for dragging input files from the desktop or
file mnager); and it will accept an internal drag of a pointer from
another window of the app.

Both of these work correctly in their own right.  Under Linux, they
also work together, in the sense that I can do one sort of drag then
the other, and they both work OK.

Under win32, the two sorts of drag work OK individally, but they seem
to "interfere" with each other, in this sense:

1. Open the app, do as many uri-list drops as you like, they work
fine.

2. Open the app, do as many pointer drops as you like. OK.

3. Open the app, do a uri-list drop.  Then try a pointer drop.  This
sequence produces a reliable segfault in gdk_drag_context_unref.

This is with the gtk 2.2.1 runtime on win98.

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC