Bug 143397 - FILESAVE Extra long document saved as .docx displayed as multiple very short pages in Writer
Summary: FILESAVE Extra long document saved as .docx displayed as multiple very short ...
Status: RESOLVED DUPLICATE of bug 142693
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx
Depends on:
Blocks:
 
Reported: 2021-07-15 23:13 UTC by justforthis7
Modified: 2021-07-17 10:15 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Test file (5.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-07-15 23:16 UTC, justforthis7
Details
Screenshot of correct display (174.48 KB, image/png)
2021-07-15 23:19 UTC, justforthis7
Details
Screenshot of incorrect layout (108.89 KB, image/png)
2021-07-15 23:20 UTC, justforthis7
Details
odt example text (24.32 KB, application/vnd.oasis.opendocument.text)
2021-07-16 11:32 UTC, justforthis7
Details
screenshot of saved as .docx in word (234.60 KB, image/jpeg)
2021-07-16 11:32 UTC, justforthis7
Details
screenshot of .odt in word (143.87 KB, image/jpeg)
2021-07-16 11:33 UTC, justforthis7
Details

Note You need to log in before you can comment on or make changes to this bug.
Description justforthis7 2021-07-15 23:13:43 UTC
Description:
Document created in writer with an extended page length and saved as .docx file. On reopening in Writer is displayed as multiple blank lines. The page length has been changed to be a few cm long and the display is showing multiple pages. This happens if the page length exceeds the limit for .docx files in word (approx 55cm). If you change the page length back to a longer length it continues to be displayed correctly. When the file with the extended page length is opened directly in Word it changes the page length to the default maximum, when opened in google docs it is displayed as the extended page length.      

Steps to Reproduce:
1.create file larger than 55cm long in Writer
2.save as .docx, close file
3.reopen in Writer

Actual Results:
Display is unreadable. Document is displayed as multiple pages each a few cm long.

Expected Results:
Display is readable, page length is as saved (or changed to default maximum length)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.7.2
Build ID: 1:6.4.7-0ubuntu0.20.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded 
(NB same issue found using Windows 10)
Comment 1 justforthis7 2021-07-15 23:16:37 UTC
Created attachment 173612 [details]
Test file
Comment 2 justforthis7 2021-07-15 23:19:25 UTC
Created attachment 173613 [details]
Screenshot of correct display
Comment 3 justforthis7 2021-07-15 23:20:11 UTC
Created attachment 173614 [details]
Screenshot of incorrect layout
Comment 4 justforthis7 2021-07-15 23:22:59 UTC
Had posted this as a question here.
https://ask.libreoffice.org/en/question/317895/mail-merge-doc-saved-as-docx-not-displayed-correctly-in-lo-writer/

It was a mail merge document but I have since discovered it is true for other documents.
Comment 5 Timur 2021-07-16 07:32:39 UTC
Problem is obvious, LO saved DOCX opens in MSO as 4 pages, while it's counting in LO without visible content, like short pages. 
Correct was to report filesave problem for DOC/X is to first save as ODT (after step 1.) and attach it. Please do. That will help test it properly.
Comment 6 Timur 2021-07-16 08:01:32 UTC
While for filesave part is needed ODT, fileopen was visible 8 pages with 5.2 oldest, wrong counting with 5.2 master.

commit f297713d36cc7f3750bae027a9761953a5c0bb45
Date:   Tue Dec 19 16:29:38 2017 +0100
    source c97f1aff7077959e65852f65e3217e5dffd262ce
    previous 93725af2265d1171bcad27d69db11934b2ae6de5

author	Justin Luth <justin_luth@sil.org>	2016-09-09 23:52:08 +0300
tdf#86926 writerfilter allow fallback if exceptions
Comment 7 justforthis7 2021-07-16 11:32:05 UTC
Created attachment 173631 [details]
odt example text
Comment 8 justforthis7 2021-07-16 11:32:54 UTC
Created attachment 173632 [details]
screenshot of saved as .docx in word
Comment 9 justforthis7 2021-07-16 11:33:58 UTC
Created attachment 173633 [details]
screenshot of .odt in word
Comment 10 justforthis7 2021-07-16 11:35:23 UTC
Sorry don't fully understand. I've uploaded a new example file as .odt (never saved as .docx) and also screenshots taken opening the the .odt and the .docx file opened in Word. This .docx file opens as multiple pages in Writer. (these are done when booted into windows 10 not linux)
Comment 11 Gabor Kelemen (allotropia) 2021-07-17 10:15:15 UTC
With the page height of 60 cm becoming 4.1 cm after reload, I think this is a duplicate report of bug 142693 which show the same result.

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