Apache OpenOffice (AOO) Bugzilla – Issue 57157
bad copy paste function with simple text.
Last modified: 2013-08-07 14:44:35 UTC
I've noticed when I copy/paste a multiline text from a text editor into OO, if the ending character of a line is 'CR' instead of 'CRLF', then only the first line is pasted. (Sorry if this bug has already been reported, but I saw there are plenty of copy/paste pb... then to long to search).
Reassigned to ES.
Reproducible, on Windows. Do not appear on Linux: files with either line ending (CR, LF or CRLF) are pasted as separated paragraphs. But on Windows the behaviour is different: lines from a files with CRLF ending are pasted as separate paragraphs if ending = LF then pasted text has newlines, not separate paragraphs if ending = CR then only first line is pasted, the rest of the text is ignored Other windows applications do paste all lines in the CR case
This defect affects user compatibility with MS-Word on Windows and is different to OOo function on Linux. The problem with CR-ending lines will affect to compatibility with Macintosh-produced files. Reduced priority to P3, since the problem can be bypassed by importing the file with CR line-ends rather than copy-paste.
Please add a sample document.
.
Created attachment 42145 [details] a java source file with CR-ending lines
Yes it is normally a Mac format but for instance Eclipse IDE or Word 2003 don't mind of ending characters, they consider all the 3 types as correct. Then, if OOo could behave equally that would be fine... I've made plenty of verifications with the Notepad++ editor that can display ending characters and can easily switch from one type to another one. And then, I'm sure it is in the case of CR-ending lines, the copy/paste function could be suppler.
Not so general as it looks. I tested: - from notepad (WIndows default) -> OOo = the first line only (=BUG) - from jedit -> OOo = the whole text - from notepad (WIndows default) -> MS-Word = the whole text Conclusion -> there is a problem between some applications like notepad and the Writer clipboard.
move to 3.x accroding http://wiki.services.openoffice.org/wiki/Target_3x
*** Issue 62077 has been marked as a duplicate of this issue. ***
> Reduced priority to P3, since the problem can be bypassed by importing the file > with CR line-ends rather than copy-paste. I have an application which export results with 'CR' to clipboard, and these strings cannot be pasted to Writer correctly (but there are no problems with OO Calc and other software so far). I believe it is too compicated if a single user has such prolem to save clipboard to a file and then import it to Writer
Any chance to fix this for 3.1?