Comment 8 for bug 1046068

Revision history for this message
su_v (suv-lp) wrote : Re: Inkscape (GTK+/Quartz) calls output extensions or crashes when quitting while clipboard not empty

With the latest changes in gtk-3-6 (quartz: merge the clipboard storing code from gtk-2-24), experimental GTK3 builds are affected in the same way, and based on the comments in the commit, it seems to be the correct behavior: gtk asks for all targets of the clipboard.

<quote>
+ /* We simply store all targets into the OS X clipboard. We should be
+ * using the functions gdk_display_supports_clipboard_persistence() and
+ * gdk_display_store_clipboard(), but since for OS X the clipboard support
+ * was implemented in GTK+ and not through GdkSelections, we do it this
+ * way. Doing this properly could be worthwhile to implement in the future.
+ */
</quote>
<http://git.gnome.org/browse/gtk+/commit/?h=gtk-3-6&id=81667921be67c8df7b79d070ae50a49cae03b085>

Possibly related: the most recent discussion in
<https://bugzilla.gnome.org/show_bug.cgi?id=571582>

For Inkscape, a current solution could be to:
1) silently fail if export to clipboard fails (don't show the error messages returned by some of the output extensions)
2) in trunk: do not try to modify the window title bar when exporting the clipboard content (there is no window to be modified)