Joined: Jun 16, 2003 Posts: 10981 Location: California, USA
Posted: Tue Jan 11, 2011 8:13 am Post subject: Code changes for Mac OS X 10.7 Lion
I have reimplemented NeoOffice's copy and paste code so that NeoOffice no longer uses functions that Apple is likely to remove in their upcoming Mac OS X 10.7 Lion release.
Below are links to the test patch. If you find any breakage in NeoOffice's copy and paste functionality after installing the test patch, please let us know so that I can fix any breakage before we put this code into an official patch:
Joined: Jun 16, 2003 Posts: 10981 Location: California, USA
Posted: Tue Jan 11, 2011 12:28 pm Post subject:
FYI. One big change that I made in newly implemented code is that when you copy an image in Safari and paste in NeoOffice, the image will be pasted.
Previously, the URL of the image would be pasted because Safari put both text and image data flavors on the system clipboard and it was difficult to figure out which data flavor best represented the what was copied in Safari.
Hopefully the new code that I added to identify such copied images does not cause images to be pasted when text is expected.
Joined: Jun 16, 2003 Posts: 10981 Location: California, USA
Posted: Sun Jan 23, 2011 2:11 pm Post subject:
I have finished reimplementing NeoOffice's drag and drop code so that NeoOffice no longer uses functions that Apple is likely to remove in their upcoming Mac OS X 10.7 Lion release.
If possible, can anyone install the following test patch and tell us if you find any breakage in NeoOffice's drag and drop functionality?:
Joined: Jun 11, 2006 Posts: 480 Location: Great Britain
Posted: Mon Jan 24, 2011 6:21 am Post subject:
I've tested copy and paste and drag and drop to NeoOffice Writer from a variety of applications:
Safari
Camino
Chrome
Mellel
Preview
Finder
TextEdit
I've copied URLs, images, text, icons, PDF text, file names, block text, tables, and unformatted text. In all cases I got the result I was expecting when pasted/dropped into a NeoOffice Writer document. I haven't tried going the other way yet, or tested any other NeoOffice components. I'm on Snowy 10.6.6.
Joined: Jun 16, 2003 Posts: 10981 Location: California, USA
Posted: Tue Jan 25, 2011 9:54 am Post subject:
Thanks for testing my new code. I am glad to hear that you found no bugs.
However, I found a small bug and I have fixed the bug in the following test patch. The bug that I fixed was when you press the Alt key while dragging within a NeoOffice document, the dragging would still only move the contents instead of copying the contents.
With my fix, you can force copying of the dragged content by holding the Alt key while dropping the contents just like in Apple's TextEdit application:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum