On 01/19/2015 03:40 PM, Georg Baum wrote:
Georg Baum wrote:
Richard Heck wrote:
You will recall that there was another place in the code that we used
cloning as a way of avoiding creating a whole new Buffer object, etc.
I think you mean exactly the code in putClipboard() that I did now reuse?
The only other place where buffers are cloned is for threaded export, and
this is not for performance reasons, but to allow modifying the original
during export.
Yes, that's what I meant.
You will also recall that this led to some bugs, which I think you
helped (?) fix, but I think it works all right now. So that might be
another idea.
If there are still bugs then they occur for copying to the external
clipboard.
Sorry, I hit send too early. I wanted to write:
If there are still bugs then they occur for copying to the external
clipboard as well. IMHO it does not make a big difference if they are now
triggered a bit more often. This is now in master: c5782ff4bbf0129
Richard, do you want it for 2.1.3?
Thhis actually looks pretty safe, you think?
Richard