After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692123 - Exchanging arbitrary items with the Mac OS X system clipboard
Exchanging arbitrary items with the Mac OS X system clipboard
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.24.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-01-20 04:27 UTC by Valerio Aimale
Modified: 2018-04-15 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to allow quartz application to properly interact with the Mac OS X clipboard (2.24 KB, patch)
2013-01-20 04:27 UTC, Valerio Aimale
none Details | Review
New patch, added management of NULLs (3.11 KB, patch)
2013-01-22 15:37 UTC, Valerio Aimale
needs-work Details | Review
Resubmitted patch, formatted with git, as requested (4.22 KB, patch)
2013-01-25 00:30 UTC, Valerio Aimale
none Details | Review
Revised patch (4.18 KB, patch)
2013-02-11 00:16 UTC, Valerio Aimale
none Details | Review

Description Valerio Aimale 2013-01-20 04:27:48 UTC
Created attachment 233930 [details] [review]
Patch to allow quartz application to properly interact with the Mac OS X clipboard

The gtk+ quartz backend supports few mimetypes to be exchanged with the system clipboard. This behavior prevents some application (like Inkscape) from fully working with the OSX clipbaord, using any mimetype. 

Mimetypes are mapped to the correct Uniform Type identifier, on the fly, using MAc oS x convenience functions. It works very weel with Inkscape.
Comment 1 Valerio Aimale 2013-01-22 15:37:07 UTC
Created attachment 234111 [details] [review]
New patch, added management of NULLs
Comment 2 Valerio Aimale 2013-01-22 15:38:18 UTC
I added management of NULLs, required to handle all Apple Uniform types. Please use the patch labeled "New patch, added management of NULLs" ignore the previous one
Comment 3 John Ralls 2013-01-22 16:11:56 UTC
Review of attachment 234111 [details] [review]:

Thanks for the patch. When you submit patches, please check the "patch" box on the "add an attachment" form. You'll also see an "obsoletes" selection just below it which allows you to easily supersede previous versions.

You'll find instructions for creating patches at https://live.gnome.org/GnomeLove/SubmittingPatches. Please use that procedure and resubmit.
Comment 4 Valerio Aimale 2013-01-25 00:30:51 UTC
Created attachment 234351 [details] [review]
Resubmitted patch, formatted with git, as requested
Comment 5 Valerio Aimale 2013-02-11 00:16:12 UTC
Created attachment 235656 [details] [review]
Revised patch

Revised patch: "application/x-color" and "text/uri-list" have to be maintained as separate cases, as Mac OS X does not provide correct translation with UIT's
Comment 6 Michael Natterer 2013-03-28 13:02:37 UTC
Valerio, would you mind checking the patches in bug 571582 ?

I have just merged the bottom 2 of kris' 3 patches upstream, but these
were cleanups only. The 3rd patch actually implements selections in GDK
properly and kills gtkselection-quartz.c. If would be great if you
could test that stuff, apply your changes on top, and comment :)
Comment 7 Matthias Clasen 2018-02-10 05:15:26 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 8 Matthias Clasen 2018-04-15 00:06:23 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new