Bug 105154 - FILESAVE: DOCX: Extra page displayed in MSO Word after RT
Summary: FILESAVE: DOCX: Extra page displayed in MSO Word after RT
Status: RESOLVED DUPLICATE of bug 108954
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks:
 
Reported: 2017-01-06 18:35 UTC by Xisco Faulí
Modified: 2018-10-27 14:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
tdf105154_extraWordPara.odt: when saved as .docx, MSWord sees three paragraphs, not two (16.66 KB, application/vnd.oasis.opendocument.text)
2017-01-16 12:54 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2017-01-06 18:35:06 UTC
Steps:
1. Open attachment  82182 [details] from bug 66692
2. Save it as .DOCX
3. Open the new .DOCX file in MSO Word

Observed behaviour: After RT, only one page is displayed in LibreOffice but 2 in MSO Word

Reproduced in:

Version: 5.4.0.0.alpha0+
Build ID: 7a1add76d542e9929c1feab9e06949990e236616
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 1 Xisco Faulí 2017-01-06 18:36:24 UTC Comment hidden (obsolete)
Comment 2 Xisco Faulí 2017-01-06 18:46:47 UTC
Same commit also affects attachment 59921 [details] from bug 48658 adding a third line to the document when it's opened in MSO Word after RT
Comment 3 Justin L 2017-01-10 07:54:37 UTC
This one is funny.  Before the "regression" LO incorrectly imported the single page document as two-pages.  On a round-trip, both Word and LO see it as one page.

After the regression, LO correctly imported the single page document as one-page.  On a round trip, Word sees it as two pages (because of an extra carriage return I believe).

Since the "regression" patch is an import patch, and this is an export bug, this is really just exposing a different bug elsewhere.
Comment 4 Justin L 2017-01-16 12:54:34 UTC
Created attachment 130472 [details]
tdf105154_extraWordPara.odt: when saved as .docx, MSWord sees three paragraphs, not two

The document from comment 2 was simplified and saved in .odt format to remove any import issues.  Using this .odt to create the .docx, the observation that MSWord sees three paragraphs instead of two goes back all the way to the beginning of bibisect43all (removing regression, bibisected, bisected).
Comment 5 Justin L 2017-10-20 11:03:48 UTC
Comment 4 doc is fixed - it no longer adds a paragraph each round-trip.
Comment 3 doc is still broken.  Even in LO, an extra paragraph is added each round-trip.
Description doc is still broken. Even in LO, an extra paragraph is added to the very last (empty) table each round-trip.

Tested with Ubuntu 16.04 and LO6.0alpha1
Comment 6 QA Administrators 2018-10-21 02:50:51 UTC Comment hidden (obsolete, spam)
Comment 7 Justin L 2018-10-27 14:27:41 UTC

*** This bug has been marked as a duplicate of bug 108954 ***