Bug 27842 - Broken clipboard bindings
Summary: Broken clipboard bindings
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marius Ungureanu
Depends on:
Reported: 2015-03-10 18:09 UTC by Cody Russell
Modified: 2017-06-15 01:22 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 27842 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Cody Russell 2015-03-10 18:09:58 UTC
public delegate void ClipboardTargetsReceivedFunc (Clipboard clipboard, Atom atoms, int n_atoms);

should be (Clipboard clipboard, Atom[] atoms);
Comment 1 Mikayla Hutchinson [MSFT] 2015-03-10 18:46:25 UTC
Also Clipboard.WaitForTargets, possibly more
Comment 2 Cody Russell 2015-03-11 22:05:52 UTC
Gtk.Selection.AddTargets() looks wrong too.
Comment 3 Marius Ungureanu 2017-06-15 01:22:42 UTC
Found a few problematic bindings and have some fixes for them, the problem is that the generator doesn't support arrays in callbacks, array returns and arrays passed as out. Will investigate.