[Wayland-bugs] [Bug 672358] Introduce a GdkClipboard abstraction to replace the various GtkClipboard implementations

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 23 23:23:15 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=672358
  gtk+ | wayland | unspecified

--- Comment #14 from Kristian Høgsberg <krh at bitplanet.net> 2013-08-24 06:23:09 UTC ---
Created an attachment (id=252982)
 View: https://bugzilla.gnome.org/attachment.cgi?id=252982
 Review: https://bugzilla.gnome.org/review?bug=672358&attachment=252982

remaining selection fixes

I pushed a number of straightforward fixes for wayland clipboard handling, and
this patch is the last few fixes required to get basic copy and paste working.

The patch is essentially a couple of heuristics to either filter out the legacy
X atom content types or rewrite UTF8_STRING to text/plain;charset=utf-8.  The
patch works fine, but I wasn't sure if we wanted to do this at a higher level
instead.  We could make gtk_clipboard_request_text() just ask for
text/plain;charset=utf-8, and then let the X backend expand that to the
UTF8_STRING, COMPOUND_TEXT and STRING targets as well.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list