[PD-dev] X paste fix breaks copy-paste within Pd
Hans-Christoph Steiner
hans at at.or.at
Wed Aug 24 18:44:47 CEST 2011
Hey Miller,
I was just checking out your recent commits. The X-paste fix does
indeed fix selection click-pasting, but it breaks regular old
copy-pasting with in Pd. For example:
1. make an object box with "foo" in it
2. select "foo" and hit Ctrl-C or Edit->Copy
3. create a blank object box
4. hit Ctrl-V or Edit->Paste
Nothing gets pasted. The problem lies in the difference between Tcl's
"clipboard" and "selection"; clipboard is Ctrl-C/Ctrl-V and selection is
X-paste. Your commit converted [clipboard get] to [selection get]. I
think the solution is to revert the X-paste commit and then add separate
logic for [selection get] to get X-pasting working.
.hc
More information about the Pd-dev
mailing list