User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170502232935 Steps to reproduce: I am using the 54 branch of firefox and the latest gtk+ 3-22 branch, Copying text from firefox is broken. The following procedures don't work: 1) Copying text from firefox to firefox. 2) Copying text from firefox and pasting in a native gtk+ application. The following procedures work: 1) Copying text from a native gtk+ application and pasting in firefox. 2) Copying text from a native gtk+ application and pasting in another native gtk+ application. 3) Copying an image in firefox (whole image, not the link) and pasting it in another application such as gimp. Please make sure you are using the latest code from gtk+ 3.22 branch before testing my bug.
This is the relevant gtk+ change. https://bugzilla.gnome.org/show_bug.cgi?id=781814 Perhaps firefox needs to adapt to it. Note: Libreoffice, webkitgtk+, and native gtk+ applications are not affected.
gtk+ 3.22.13 was released with this change. It looks like firefox needs to support "text/plain;charset=utf-8" in addition to the currently used UTF8_STRING.
GTK+ developers fixed this in 3.22.14