[Xquartz-dev] 1.4.2-apple20 - copy-paste
George Peter Staplin
georgeps at xmission.com
Sun Oct 26 07:53:50 PDT 2008
Quoted Dave Ray <apple at jonive.com>:
> On the topic of copy-paste, I want to give an update for the latest
> betas on my system.
>
> I can copy and paste both directions between Textedit and xterm.
> I can copy and paste both directions with X11-Gimp and Preview.
>
> I continue to have unusual copy-paste behavior between X11-Gimp and
> Adobe Photoshop, Results are the same as I described from the previous
> version. I can copy from Gimp to Photoshop, but not the other way. I
> can copy from Photoshop to Preview fine and Preview to Gimp fine.
Well, that's interesting that it's still not working between Photoshop
and Gimp. I don't have Photoshop available to test with.
I suspect that Photoshop is using a Pict format with NSPasteboard, but
I have no way of knowing for sure, unless I can add some introspection
for the available types. I will look into this further, and perhaps
write a test application for you that would print out the available
NSPasteboard types. I want it to work flawlessly between all apps, as
much as possible.
Right now we support TIFF, JPEG, PNG, UTF-8, CompoundText, and STRING/Latin-1.
The Pict support was more difficult I think, because I'm not sure how
to translate between the Pict and the various formats. We need to
convert Pict to TIFF, and Pict to PNG for the best results.
> I continue to have unusual copy-paste behavior between X11-Eterm and
> anything othe than Eterm. Results are the same as I described from the
> previous version. Seems like they use different buffers. Under Linux I
> use a mix of xterm and Eterm and never saw this problem.
I have this on the TODO list on my desk. I'm sorry that it's taking a
while to get to. I will try to take a look at the Eterm sources, as I
suspect they are doing something unexpected.
> Let me know if there's any info I can collect that could be useful.
> Dave
If I can think of anything, I will let you know. Once I've written
the code for NSPasteboard introspection we should be able to get a
little further on one of these issues. I appreciate your feedback.
George
--
http://people.freedesktop.org/~gstaplin/
More information about the Xquartz-dev
mailing list