Created attachment 101327 [details] Sample .doc file with a page of graphs, saved with LibreOffice Writer 4.2.4.2, showing mangled layout. Problem description: When I save a document (this particular one has a number of graphs on one page), as a Microsoft Word 97/2000/XP/2003 (.doc) file, then open it again in the same version of LibreOffice that I saved it with, the formatting is scrambled (in this particular doc, the graphs are scattered all over the place). This problem is even worse saving it as later versions of Word files. Surely LibreOffice should be able to open files that it has saved itself and keep the formatting right? This issue is just with reopening a file with the software that orginally saved it - I haven't tested opening with Word myself, but it's reported to be just as scrambled. However, I'm not so concerned with that - because Word has a mind of its own - what I am concerned with is that the software that saved it cannot properly display the file it created itself. Steps to reproduce: 1. Save document as Microsoft Word 97/2000/XP/2003 (.doc) 2. Close window 3. Open previously saved .doc file again Current behavior: Formatting is mangled Expected behavior: Formatting should be the same as when it was saved Operating System: Fedora Version: 4.2.4.2 release
Created attachment 101328 [details] Original .odt file which was saved as the .doc file above
Hi.. I also saw some graphs/charts in page 3 misplaced to page 2 (not exactly same as attached .doc), and the captions' change to top. Saw no other problems. Tested under 4.0.6.2 - Win7 x86
Pls try to give a clear description for the summary :)
Sorry, i don't understand what's missing from the summary. What would you like me to add?
I can confirm the bug, some graphs and charts from page 3 are moved to page 2 onto the top of original text. (Maybe also other things are mixed up) My test system: LinuxMint 17 Cinnamon LO 4.2.4.2 Build id.: 420m0(Build:2) I would change Status to NEW, but I am a newbie so I don't want to do it yet!
Reproduced what comment 5 says -> NEW. Tweaked severity per https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg Ubuntu 14.10 64-bit Version: 4.5.0.0.alpha0+ Build ID: 6b219f012edbe069c461f4e0746898e33fa1dd49 TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-25_21:56:46
Already happens with 3.3.0 (tried saving .odt to .doc). Ubuntu 14.10 64-bit LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
Reproducible with LO 5.1.0.1, Win 8.1
Reproducible with Version: 5.4.0.0.alpha0+ Build ID: 33f5bc54aaa7fe7aa9335726e30f9c349155e04d CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-12-01_23:21:05 Locale: nl-NL (nl_NL); Calc: CL
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Repro 6.4+
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/59d96acec8c4d9e472daa3e2c287b3a754e01817 tdf#138518 sw: layout: unbreak fdo80206-1.doc It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/dcea18e66e61c6f411b9bf6498a0ffc374161484 tdf#138518 sw: layout: unbreak fdo80206-1.doc It will be available in 7.1.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
repro 7.6+ These are captioned images. The caption frame is anchored to page in ODT, but anchored to character in DOC. (The problem must be in import, because MS Word shows these textboxes as anchored to page.)
Not sure what can really be done about this. The images are in a paragraph that spans three pages, and they are told to anchor "to page". Well, that gets a bit ambiguous, especially when you change file format, especially when there are no page breaks or anything else to ensure "pageness".
This is a poster child for layout issues. I assume one big aspect at play here is bug 95623 (dealing with multiple flies affecting layout of a single paragraph). For DOC, it doesn't seem like a FILESAVE problem. It looks pretty good in MS Word 2010 (other than the caption switched from being at the bottom, to being at the top - also happens in LO). DOCX is a total disaster from both MSO and LO perspective. There is not much point in working on this bug report specifically. Too many variables. We can keep it open and celebrate when the pieces get fixed one by one.