[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 23 19:53:50 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114501

--- Comment #2 from tbreportbug at protonmail.com ---
(In reply to Jean-Baptiste Faure from comment #1)
> I do not understand your bug description:
> 1/ what do you mean by "the formating is ruined", please give an exhaustive
> example: an odt test file, instruction for what part of text must be copied
> and pasted, what you see in the compose window of Thunderbird and what you
> should see in the same window.
> 
> 2/ why do you think that the problem (if there is a problem) is on
> LibreOffice side and not on Thunderbird side?
> 
> Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
> informations are provided.
> 
> Best regards. JBF

You can use this service to try out what happens in Thunderbird, because the
exact same thing happens in Thunderbird:
https://www-archive.mozilla.org/editor/midasdemo/

Here is a text file you can try called "paste_this_into_thunderbird.odt":
https://ufile.io/u0dpy

That file has been uploaded into the service https://uploadfiles.io/ and it
only contains this (not including /START and /END):

/START
Text here

Text here

Text here

Text here

Text here

Text here

Text
Text
Text
Text
End.
/END

When you paste this text from LibreOffice into Thunderbird (or that "midasdemo"
website linked up there), you see that the formatting gets ruined. In this case
meaning that there is a lot more paragraph spacing above and below each
paragraph.

So if I type these "keystrokes" on my keyboard in Thunderbird:

*press A-key*
*press J-key*
*press ENTER-key*
*press ENTER-key*
*press A-key*

And then I type in LibreOffice these exact same "keystrokes":

*press A-key*
*press J-key*
*press ENTER-key*
*press ENTER-key*
*press A-key*

Then these both messages look visually exactly the same. But now, if I paste
that particular text from LibreOffice to Thunderbird, then that message looks
different from the one I typed in Thunderbird itself. So the text got ruined
during this pasting process.

When a user writes text inside either of these programs (Thunderbird and
LibreOffice), then the ENTER-key behaves in the exact same way in both of the
programs, producing the exact same result. But if the user then pastes from
LibreOffice to Thunderbird, then that formatting of the pasted text gets
ruined. This is not logical at all. The ENTER-key has the work the same way in
all of these very common and useful programs, and copy-pasting just cannot ruin
that logic.

Well then you suggest: Paste Without Formatting? No, this is not a proper
solution at all. Let's say I have a text (written in OpenOffice/LibreOffice)
that is 3000 words long and includes: 30 links, texts that are bolded,
unordered lists etc. And I wish to send this text to 20 different people. And I
want to change the introduction of the text slightly for all these different
people. I just cannot "Paste Without Formatting", because it requires
tremendous work to get that formatting then correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171223/83b0d825/attachment-0001.html>


More information about the Libreoffice-bugs mailing list