[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 Buovjaga changed: What|Removed |Added Status|REOPENED|UNCONFIRMED Ever confirmed|1 |0 --- Comment #9 from Buovjaga --- Apologies, the elements inside the empty paragraphs are inserted by LibreOffice. Confirmed by running this command in Linux after copying the text from LibreOffice: xclip -selection clipboard -o -t text/html (In reply to tbreportbug from comment #8) > To reiterate, the problem with the current system seems to be: > > 1) Paragraphs have default margin-top value. The margin-top value should be > 0cm! >From what I am seeing, if the paragraphs have a default margin-top value, it is not assigned in LibreOffice, but Thunderbird. Indeed, Richard Marti in the Thunderbird report says: "From toolkit html.css a margin-block-start: 1em; is applied as default for . You'd need also a margin-top: 0 to remove all space above the ." If I look at the styles in Firefox dev tools, I can see the 16px margin-top for the paragraphs in *browser styles*, so this is something the browser (or Thunderbird) is applying. It's late and I have to think about this more tomorrow. I don't really have a clear picture of what should be done or what would be the perfect result. For reference, I will include below the clipboard text/html contents from LibreOffice. @page { size: 21.59cm 27.94cm; margin: 2cm } p { margin-bottom: 0.25cm; line-height: 120%; background: transparent } Text here Text here Text here Text here Text here Text here Text Text Text Text End. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 --- Comment #8 from tbreport...@protonmail.com --- Currently this is what is EXPORTED from LibreOffice: Text here Text here Text here Text here Text here Text here Text Text Text Text End. One solution would be to make LibreOffice export (and I presume then normal CTRL+C and CTRL+V will work as desired) the above mentioned HTML like this: Text here Text here Text here Text here Text here Text here Text Text Text Text End. To reiterate, the problem with the current system seems to be: 1) Paragraphs have default margin-top value. The margin-top value should be 0cm! -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 --- Comment #7 from tbreport...@protonmail.com --- (In reply to tbreportbug from comment #6) > And using find & replace does not work in LibreOffice. I tried to replaces > all $ (new paragraph) with \n (new line break) but this does NOT replace > those $ symbols, even though the tool CLAIMS that it changed many entries. And even if I use this "trick" (https://forum.openoffice.org/en/forum/viewtopic.php?f=20=67679#p301299): START_QUOTE Enter a line break normally and copy it to the clipboard Edit > Find & Replace Search for: $ Options/Regular expressions: ON Click "Find All" Edit > Paste /END_QUOTE to replace all $ signs, then all of my indentations and unordered list formattings will be ruined in the process. So using find & replace will not solve this issue. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 --- Comment #6 from tbreport...@protonmail.com --- And using find & replace does not work in LibreOffice. I tried to replaces all $ (new paragraph) with \n (new line break) but this does NOT replace those $ symbols, even though the tool CLAIMS that it changed many entries. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 tbreport...@protonmail.com changed: What|Removed |Added Resolution|NOTABUG |--- Ever confirmed|0 |1 Status|RESOLVED|REOPENED --- Comment #5 from tbreport...@protonmail.com --- (In reply to Buovjaga from comment #4) > (In reply to tbreportbug from comment #2) > > 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. > > That's not the fault of LibreOffice, now is it? > > If you look at the source of the Midas demo after pasting the stuff in, you > see that inside every empty paragraph they have added a break element. > Deleting these elements make for a sane line spacing. The Midas demo does not add additional break elements. It is the LibreOffice that is adding additional paragraph elements! You can test this by going into LibreOffice, and then export (using Save As...) the document as HTML. So exporting out you get this: Text here Text here Text here Text here Text here Text here Text Text Text Text End. But exporting SHOULD give something like this, to make it render properly in Firefox and Thunderbird: Text here Text here Text here Text here Text here Text here Text Text Text Text End. The problem seems to be obviously with LibreOffice! Can we now please get this fixed? This problem is completely ruining the usage of Thunderbird! -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 Buovjagachanged: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTABUG --- Comment #4 from Buovjaga --- (In reply to tbreportbug from comment #2) > 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. That's not the fault of LibreOffice, now is it? If you look at the source of the Midas demo after pasting the stuff in, you see that inside every empty paragraph they have added a break element. Deleting these elements make for a sane line spacing. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 Buovjagachanged: What|Removed |Added CC||todven...@suomi24.fi --- Comment #3 from Buovjaga --- Created attachment 138659 --> https://bugs.documentfoundation.org/attachment.cgi?id=138659=edit Example file -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 tbreport...@protonmail.com changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 --- Comment #2 from tbreport...@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.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 114501] Copy pasting from OpenOffice/ LibreOffice to Thunderbird ruins formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=114501 Jean-Baptiste Faurechanged: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||jbfa...@libreoffice.org Ever confirmed|0 |1 --- Comment #1 from Jean-Baptiste Faure --- 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 are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs