Crash with Drag and Drop on Mac OS X
Steps to reproduce
- Download, build, and run the drag and drop example from https://github.com/gtk-rs/examples/.
- Click on the drag button and drop on the label on the right. You will see the first two warnings and the error. The drag and drop fails.
- Click on the drag button again and the program will crash.
I have not yet tested this with the pure GTK libraries - issue was produced via the Rust bindings. The gtk-rs team triaged the issue and believes it to be an issue with GDK. See the issue here: https://github.com/gtk-rs/examples/issues/311
Version information
GTK Version 3.24.18
Mac OS X 10.14 (18A391)
Warnings
After step 2:
(:31457): Gtk-WARNING **: 16:39:21.028: Cannot load drag icon from icon name text-x-generic
(:31457): Gtk-WARNING **: 16:39:21.028: Cannot load drag icon from icon name text-x-generic
(:31457): Gtk-CRITICAL **: 16:39:21.029: _cairo_surface_extents: assertion 'surface != NULL' failed
After step 3:
Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:44:_gdk_quartz_window_drag_begin: assertion failed: (_gdk_quartz_drag_source_context == NULL)
Bail out! Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:44:_gdk_quartz_window_drag_begin: assertion failed: (_gdk_quartz_drag_source_context == NULL)
Abort trap: 6