On Mon, Jul 8, 2013 at 4:10 PM, Georg Baum <georg.b...@post.rwth-aachen.de> wrote: > Scott Kostyshak wrote: > > The attached patch fixes two issues: > > 1) It uses the same type argument of theClipboard().hasTextContents() and > pasteClipboardText(). This eliminates one possible error (which did not > occur in this case) > > 2) If both text and graphics are available, and pasting text failed, it > pastes graphics instead.
How does it know that pasting text failed? Because there is no text/plain? Or because after text/html is converted it is an empty string? > > Does this work for you? What about the garbled text which you posted > earlier? This works well for me. The garbled text was during some commits when I was bisecting. If you are curious I can try to find a commit in the past that exhibits this. Thanks for the patch, Scott