Bug 137859 - Imported .docx doesn't look the same
Summary: Imported .docx doesn't look the same
Status: RESOLVED DUPLICATE of bug 158341
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0 all versions
Hardware: All All
: medium normal
Assignee: Miklos Vajna
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2020-10-29 15:45 UTC by ralf.krapf
Modified: 2023-12-05 10:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
It look like this... (78.67 KB, image/png)
2020-10-29 15:46 UTC, ralf.krapf
Details
...but it should look like this. (99.23 KB, image/png)
2020-10-29 15:47 UTC, ralf.krapf
Details
Original File (215.40 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-10-29 15:47 UTC, ralf.krapf
Details
The original example in Word 16 and Writer (232.22 KB, image/png)
2023-04-27 15:19 UTC, Gabor Kelemen (allotropia)
Details
Bug_DOCX.mso2010.pdf: LO looks like this too, after a layout refresh (104.01 KB, application/pdf)
2023-08-18 16:39 UTC, Justin L
Details
The example file in Word and Writer (174.56 KB, image/png)
2023-10-11 13:27 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word and Writer master (213.33 KB, image/png)
2023-10-11 13:29 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ralf.krapf 2020-10-29 15:45:28 UTC
Description:
The attached docx does not nook the same in LO and Word (Microsoft 365).


Steps to Reproduce:
1. Open attached docx in LO 7.x
2. Open attached docx in Word 365.


Actual Results:
Does not looks the same.

Expected Results:
Looks the same.


Reproducible: Always


User Profile Reset: No



Additional Info:
See also attached screenshot.

Thanks Ralf
Comment 1 ralf.krapf 2020-10-29 15:46:40 UTC
Created attachment 166850 [details]
It look like this...
Comment 2 ralf.krapf 2020-10-29 15:47:06 UTC
Created attachment 166851 [details]
...but it should look like this.
Comment 3 ralf.krapf 2020-10-29 15:47:25 UTC
Created attachment 166852 [details]
Original File
Comment 4 Xisco Faulí 2020-10-29 16:19:51 UTC
Reproduced in

Version: 7.1.0.0.alpha1+
Build ID: 6934049abe5581ba543212f07fec8c411122c806
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

and

Version: 5.4.0.0.alpha1+
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

in previous versions, everything was on page 1
Comment 5 NISZ LibreOffice Team 2020-12-08 14:31:09 UTC
Those tables are floating.
Comment 6 ralf.krapf 2022-05-24 09:49:29 UTC
Still present in LO 7.3.3.2
Comment 7 Gabor Kelemen (allotropia) 2023-04-27 15:19:21 UTC
Created attachment 186970 [details]
The original example in Word 16 and Writer

Seems like there is a section break in the original document which is not imported at all.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a555d79b3b00793edf1d51a8a7c76b723cc436d
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 8 Gabor Kelemen (allotropia) 2023-04-27 15:19:53 UTC
Similar to why bug 150769 is garbled.
Comment 9 Gabor Kelemen (allotropia) 2023-06-05 11:45:37 UTC
Still the same as on attachment 186970 [details], despite the recent fixing of the similar ones in See Also.

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 845054aa25b7cba1daa1ff30b142d549027299bd
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 10 Justin L 2023-08-18 16:39:57 UTC
Created attachment 189030 [details]
Bug_DOCX.mso2010.pdf: LO looks like this too, after a layout refresh

This looks nearly perfect now (at least compared to MSO 2010) (and DOES look perfect if you switch to View - web and then back to View - Normal).
Comment 11 Gabor Kelemen (allotropia) 2023-10-11 13:27:51 UTC
Created attachment 190136 [details]
The example file in Word and Writer

Recently this became almost perfect (but typing on top of the page 2 still caused layout flickering) with:

https://git.libreoffice.org/core/+log/cfe9c68a7a19dd77d1fcbde3a7dd75730634becc

author	Miklos Vajna <vmiklos@collabora.com>	Thu Sep 21 08:31:01 2023 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	Thu Sep 21 09:46:28 2023 +0200

tdf#157119 sw floattable: fix moving master of split fly to next page
Comment 12 Gabor Kelemen (allotropia) 2023-10-11 13:29:35 UTC
Created attachment 190137 [details]
The example file in Word and Writer master

But since then it got worse in current nightly:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cb46ad4c4602fbb6aeab482e9370e31495e12cfe
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 13 Gabor Kelemen (allotropia) 2023-10-11 15:15:52 UTC
(In reply to Gabor Kelemen (allotropia) from comment #12)
> Created attachment 190137 [details]
> The example file in Word and Writer master
> 
> But since then it got worse in current nightly:

This happens after:

https://git.libreoffice.org/core/+/2d6f48d53674ee85179ec8cee8648830207200a2

sw floattable, crashtesting: fix PDF export of fdo56210-3.docx
Comment 14 Miklos Vajna 2023-12-05 10:53:19 UTC
I would say this now looks reasonable on master, since core.git commit ce2fc5eb29b4e252993b549dee002fa8948c8386 (tdf#158341 sw floattable: fix layout loop when fly is below the body frame, 2023-11-29)

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