Bug 108511 - FILESAVE FILEOPEN): Format/Paragraph/Text Flow differs on file open from what saved as .docx
Summary: FILESAVE FILEOPEN): Format/Paragraph/Text Flow differs on file open from what...
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2017-06-13 18:03 UTC by Brad Calcagni
Modified: 2017-06-15 11:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample document - never reopened (1.17 MB, text/.docx)
2017-06-13 18:52 UTC, Brad Calcagni
Details
Same document reopened and saved without any edits (1.17 MB, text/.docx)
2017-06-13 18:54 UTC, Brad Calcagni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Calcagni 2017-06-13 18:03:46 UTC
In large documents saved as .docx (~0.7MB+), the formatting differs when reopened from what existed at save time.  Specifically:

Format/Paragraph/Text Flow
just before FileSave:
HYPHENATION
 [on] Automatically
    [3] Characters at line end
    [3] Characters at line beginning
OPTIONS
 [off] Do not split paragraph
 [off] Keep with next paragraph
 [on]  Orphan Control
 [on]  Widow Control

After Close-app open-app, FileOpen
HYPHENATION
 [mixed] Automatically
    [2] Characters at line end
    [2] Characters at line beginning
OPTIONS
 [see note] Do not split paragraph
 [mixed] Keep with next paragraph
 [mixed]  Orphan Control
 [mixed]  Widow Control

Upon examining individual paragraphs, it appeared that settings were frequently correct on paragraphs early in the document, but usually wrong on later paragraphs in the document.
Specifically, 
OPTIONS
 [on] Do not split paragraph
 [mixed] Keep with next paragraph (but usually [on])
Comment 1 Brad Calcagni 2017-06-13 18:52:24 UTC
Created attachment 134004 [details]
Sample document - never reopened

To make document large, same text appears in each of the 42 chapters.
Comment 2 Brad Calcagni 2017-06-13 18:54:30 UTC
Created attachment 134005 [details]
Same document reopened and saved without any edits

Upon reopen, the text flow was changed from what was set before first save.
Comment 3 Brad Calcagni 2017-06-13 19:37:31 UTC
Two more behaviors regarding this bug/bug-set, and one comment.

3. An edit to set format/paragraph/text flow attributes, particularly "do not split paragraph" works fine in an unsaved large document.  It fails, though, in a document already saved and reloaded.

4. Near the beginning of a reopened document, a large block of paragraphs can be reset to the correct "text flow" formatting.  Further down in the document, only a few paragraphs can be successfully reset.

I saved one of my problem documents in .odt format.  This did not help.  All observed problem behaviors still existed.
Comment 4 Timur 2017-06-14 16:41:32 UTC
Bugzilla is "issue based", so a single issue must be pointed at, after a search for not being a duplicate. 
Bugzilla is not "document based", like "this document doesn't display nice". 
It's highly unlikely that any bugs of type "multiple problems/bad rendering", will be fixed.
Each issue (section break, paragraph break, text box, picture...) should be reported separately, but only after a search for already reported bugs. 
FILEOPEN problems are different from FILESAVE, and DOC is different filter from DOCX.
Issues may preferably be checked before with master LO version from http://dev-builds.libreoffice.org/daily/master/ or using Separate Install GUI tool http://tdf.io/siguiexe in Windows. It downloads and extracts different LO versions, without installing, so you may test different versions. It only needs MS Visual C++ Runtime installed. 
Only if bugs don't exist, they should be reported separately, even if they happen with the same file.

What I conclude from this bug report is that you work on DOCX but you don't say how it was created, with MSO (and then you must know exactly when LO problem happens) or with LO (slim chance than to know when problem happens) and what it means saved with your attachment.
Also, you mention format change but don't says whether it's direct or style formatting and how you did that. 
So, you steps are not precise and easily reproducible. Same for Bug 108509 and Bug 108511.
Comment 5 Xisco Faulí 2017-06-15 11:11:59 UTC
Closing as RESOLVED INVALID.
Please follow instructions from comment 4 in order to report the bugs...