Apache OpenOffice (AOO) Bugzilla – Issue 66718
OO uses incorrect XATOM on clipboard for RTF.
Last modified: 2013-08-07 14:38:26 UTC
OO sets "text/richtext" on it's clipbord (in X-windows), which prevents it from interoperating correctly with other applications that use "text/rtf" or "application/rtf" - for example Abiword. (The abiword team refuses to add the "text/richtext" target, since it violates W3C specification, where this mime-type is already used for another format. See http://www.w3.org/Protocols/rfc1341/7_1_Text.html . See also the abiword bug: http://bugzilla.abisource.com/show_bug.cgi?id=10334 .) Would you, please, be so kind and add the correct target, so that OO can interoperate with other programs correctly? Thanks a lot!
Reassigned to ES.
ES->AMA: Please have a look!
pini, any chance you could provide step by step repro? Thanks.
Uhm, what do you mean by "step by step repro"? I've already analyzed what the _problem_ is so what "steps" do you need? If you want to see the _symptoms_ of this problem, just try to copy&paste a (rich) text from OO into abiword. It'll be copied but as a plain text only. (But you can just use any clipboard inspect tool - I'd recommend the "dndskan", http://slaout.linux62.org/dndskan/index.html - to see, that OO uses "text/richtext" instead of "text/rtf" target...)
Confirming as per http://community.i- rs.ru/index.php/topic,4046.msg24997.html#msg24997 - OO sets "text/richtext" using OO 2.2 on Suse 10.2.
This bug is really annoying. "text/richtext" is definitly not "text/rtf". Hence applications which interact with openoffice will either a) to interpret incorrectly "text/richtext" as being RTF or b) not understand openoffice when it pastes RTF... The bug appears only on linux. Mac OS X and Windows versions of Openoffice work fine here. As an aside Java can send text/rtf to the linux clipboard without any problem (and openoffice can read it from the clipboard too).
Created attachment 64886 [details] Small java test software to explore the clipboard content
(Sorry for the number of comments. I'm not familiar with the Issue interface). So, if you use the small java software TransfertTest.java above to list what is available on the clipboard (that's "list clipboard data types), you will see that on windows or mac, it proposes text/rtf. On linux, pasted text from openoffice appears as "text/richtext". When you look at the data sent (select text/richtext in the top combobox, and click the paste button in the little test program), the data is really "text/rtf". The bug appears both in the ubuntu distribution of openoffice and in the official openoffice debian distribution.