GNOME Bugzilla – Bug 664238
GTK apps crashe when dragging something
Last modified: 2011-11-20 18:42:15 UTC
I am using several GTK applications on Mac OS 10.4 and they crash if I try to drag something (a file in Thunar, a contact in Pidgin, etc) : Gdk:ERROR:gdkdnd-quartz.c:114:gdk_drag_begin: assertion failed: (_gdk_quartz_drag_source_context == NULL)
Please try gtk 2.24.8 and report back.
I do have GTK 2.24.8
Please then attach one of the crash reports. You'll find them in ~/Library/Logs/CrashReporter
Strangely, it does not trigger OSX crash reporter. But I will add some gdb backtraces, if it can help.
Created attachment 201605 [details] Thunar gdb backtrace
Created attachment 201606 [details] Pidgin gdb backtrace
Please apply this patch: http://git.gnome.org/browse/gtk-osx/tree/patches/0006-Bug-658722-Drag-and-Drop-sometimes-stops-working.patch (It's a 2.24.6 backport of http://bugzilla-attachments.gnome.org/attachment.cgi?id=196827; it should apply cleanly to 2.24.8). And see if that fixes the problem.
It does not crash anymore (which is great) but I still can't drag : (thunar:6597): Gdk-WARNING **: Drag begun with existing context; aborting the preexisting drag (thunar:6597): Gdk-WARNING **: Gdk-quartz-drag-drop, aborting
Created attachment 201710 [details] [review] Fix incorrect condition from earlier change Please try this patch. I found that I'd screwed up the original condition for fixing bug 663182.
It seems to work. Thanks.
Pushed to gtk-2-24, gtk-3-2, and master.