Bug 127622 - A text frame is imported from a specific DOCX as several separate frames which overlap
Summary: A text frame is imported from a specific DOCX as several separate frames whic...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
 
Reported: 2019-09-18 11:59 UTC by Mike Kaganski
Modified: 2020-05-15 16:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A DOCX with a text frame (26.24 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-09-18 11:59 UTC, Mike Kaganski
Details
Comparison LO to Word (114.68 KB, image/png)
2019-09-18 11:59 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2019-09-18 11:59:03 UTC
Created attachment 154258 [details]
A DOCX with a text frame

Opening the attachment in LO produces a set of several overlapping frames, the result is unreadable.

Tested with Version: 6.3.2.1 (x64)
Build ID: db810050ff08fd4774137f693d5a01d22f324dfd
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 1 Mike Kaganski 2019-09-18 11:59:47 UTC
Created attachment 154260 [details]
Comparison LO to Word
Comment 2 Dieter 2019-09-19 06:24:00 UTC
I confirm it with

Version: 6.4.0.0.alpha0+ (x64)
Build ID: f0c832acb53326ccc9a8c1a47401fbc9e1081feb
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-11_05:46:53
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

and also with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 3 NISZ LibreOffice Team 2020-05-15 16:36:12 UTC
The text in the frame has several paragraphs and they have different paragraph styles set. This seems to be the basis of breaking up the frame, a very interesting solution to handle the situation.

Setting the frames paragraphs to the same style in Word makes the frame split go away in Word. 
Then it is possible to set different paragraph styles to the frames paragraphs and to export that as one frame to docx which then stays one frame after reopen both in Word and Writer.