You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
Basic drag and drop functionality causes a crash on Mac OS X. Issue reproduced using the drag_and_drop example from this repository. See the terminal log and backtrace below.
Reproduction
Download, build, and run the drag and drop example
Click on the drag button and drop on the label on the right. You will see the first two warnings and the error.
Click on the drag button again and the program will crash.
Terminal
RUST_BACKTRACE=1 cargo run --verbose --bin drag_and_drop
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running ./drag_and_drop
(: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
**
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
Basic drag and drop functionality causes a crash on Mac OS X. Issue reproduced using the drag_and_drop example from this repository. See the terminal log and backtrace below.
Reproduction
Terminal
RUST_BACKTRACE=1 cargo run --verbose --bin drag_and_drop
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running
./drag_and_drop
(: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
**
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
Backtrace
backtrace.txt
The text was updated successfully, but these errors were encountered: