Bug 142754 - Different page layout file-open ODT (from DOC) across LibO versions and causing changes on DOCX export
Summary: Different page layout file-open ODT (from DOC) across LibO versions and causi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Paragraph
  Show dependency treegraph
 
Reported: 2021-06-10 07:57 UTC by Telesto
Modified: 2022-04-27 12:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (252.09 KB, application/vnd.oasis.opendocument.text)
2021-06-10 07:57 UTC, Telesto
Details
Trimmed down version (106.98 KB, application/vnd.oasis.opendocument.text)
2021-06-11 07:53 UTC, Telesto
Details
Even more trimmed (84.69 KB, application/vnd.oasis.opendocument.text)
2021-06-11 07:56 UTC, Telesto
Details
Trimmed even further (83.08 KB, application/vnd.oasis.opendocument.text)
2021-06-14 08:06 UTC, Telesto
Details
Comparison Screenshot Default page Style (44.80 KB, application/pdf)
2021-06-14 08:07 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-06-10 07:57:39 UTC
Description:
Different page layout converting from DOC to DOCX

Steps to Reproduce:
1. Open the attached file (ODT from DOC)
2. Scroll down to bottom (check layout)
3. Save as DOCX
4. File reload
5. Scroll down & check layout

Trimmed down variant of attachment 156473 [details] (bug 111341)

No real clue where this goes wrong: "Hinweise Zur Archivzeitüberwachung" on page 3 has different Char Font Family

Actual Results:
Notice additional page and orange marked text above the image

Expected Results:
Same as ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-06-10 07:57:57 UTC
Created attachment 172752 [details]
Example file
Comment 2 Timur 2021-06-10 08:34:15 UTC
1. This is not "DOC to DOCX" but DOC to ODT to DOCX"
2. There should be minimal case (DOC from MSO), not large document.
3. comparison screenshot would nice
4. following all that, you should see if Inherited or regression.
Comment 3 Mike Kaganski 2021-06-10 08:51:48 UTC
(In reply to Timur from comment #2)

Just wanted to note that a minimal ODT would also be fine, but then it should be "ODT to DOCX", not "DOC to DOCX". The original source of the ODT should not matter, and it's the actual content of the ODT that gets converted, not its history.
Comment 4 Telesto 2021-06-10 11:07:30 UTC
FWIW: it's not unique to DOC/ODT. Really trivial

The source file (DOC) does the same thing on DOCX conversion. However ODT from DOC  (is kind of mix of 2 formats; surely setting wise)

The attached file is kind of minimal already (if you want to see the effect.. grains of sand in the previous pages - small differences - adding up.. causing pretty obvious page layout shift at some point

It can be trimmed down to "Char Font Family difference: 5 in DOC/ODT 3 DOCX if that's truly the cause (and shifting (additional pages) the symptom)
Comment 5 Telesto 2021-06-10 20:33:51 UTC

*** This bug has been marked as a duplicate of bug 142774 ***
Comment 6 Telesto 2021-06-11 07:53:27 UTC
Created attachment 172791 [details]
Trimmed down version

Spacing between "Sicherungs- und Wiederherstellungsfunktionalität im Archivsystem abgrenzen" changes.. causing page shift
Comment 7 Telesto 2021-06-11 07:56:39 UTC
Created attachment 172792 [details]
Even more trimmed
Comment 8 Telesto 2021-06-14 08:06:54 UTC
Created attachment 172859 [details]
Trimmed even further
Comment 9 Telesto 2021-06-14 08:07:28 UTC
Created attachment 172861 [details]
Comparison Screenshot Default page Style
Comment 10 Buovjaga 2022-04-27 12:55:43 UTC
(In reply to Telesto from comment #9)
> Created attachment 172861 [details]
> Comparison Screenshot Default page Style

I confirm in the style inspector that Hanging punctuation changes to True. Character distance disappears completely.

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 1c1427e81c2463fbc40855adfafa360c13108abb
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 27 April 2022