Apache OpenOffice (AOO) Bugzilla – Issue 9321
Yellow tittles in the text when copying from "Mozilla" to OpenOffice Writer.
Last modified: 2013-08-07 14:43:23 UTC
When I copy text from “Mozilla” to OpenOffice Writer, there coming a yellow tittles before the text and in the end of the text. To copy the text: I select text , then I press right mouse button, choose “Copy”, then I go to document where I like to put a text, and then choose “Paste”. This problem exist only in OpenOffice Writer.
Created attachment 3642 [details] Here is the example of the yellow tittles in the text. Text copy was made from "Mozilla".
They are comments, its hard to see that because the comment UI needs a little work, especially when there is no "author" of the comment, see e.g. issue 8369. My understanding as to why they are there is because the text is transferred as html from mozilla to OOo and the html is prefixed and suffixed with some helpful comments of "startfragment" and "endfragment" when it comes from the windows clipboard. The html importer then helpfully converts the html comments to writer comments. Only writer supports comments which is why the others don't show them. Its a good question as to whether the comments should appear in this case because they are a somewhat confusing. cmc->sba: Perhaps somewhere in the "cut and paste of html" chain we should strip off the startfragment/endfragment comments. The comments can contain pretty confusing text, (e.g. cut and paste from word into writer), that the user probably doesn't want to know about.
I agree. The're not needed.
Ha, I fixed that on tuesday... :-> Those startFragment/endFragment comments are part of the Win32 'Simple HTML' Clipboard format. One might special case those (or, actually, treat the fragment headers properly), but as long as we don't do that... The solution we came up with is to introduce an additional clipboard format "HTML without comments" which gets used by default. By choosing "Paste special" or the paste-drop-down-icon, one can still insert HTML with comments (the old default). This is to accomodate those people working with HTML, who would certainly want any 'real' comments to be preserved. I hope this solution makes everyone happy. The fix will probably in build SRX644 n (and later). That should translate into OOo release 1.1 for end users. Internal bug ID is #104735#. dvo->ama: I assume ownership of the issue, so I can send it to testing.
AMA->DVO: Fixed?
dvo->es: Sent for testing. Fixed with internal bug 104735. dvo->stase: Fix will be in release OOo 1.1.
.
ES-> I flagged to ENHANCEMENT, because it was not really a bug... ->stase: Works in a current verion. please confirm when OOo 1.1 is there
In the meanime I close the issue.
*** Issue 13305 has been marked as a duplicate of this issue. ***