Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,501
    • Issues 1,501
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 248
    • Merge requests 248
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Issues
  • #2881
Closed
Open
Created Jun 22, 2020 by Patton Doyle@doylep

Crash with Drag and Drop on Mac OS X

Steps to reproduce

  1. Download, build, and run the drag and drop example from https://github.com/gtk-rs/examples/.
  2. 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.
  3. 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

Backtrace

backtrace.txt

Edited Aug 01, 2020 by Timm Bäder
Assignee
Assign to
Time tracking