Bug 113829 - FILEOPEN: DOC: Incorrect position of table - on top instead of 5 cm vertical relative to page
Summary: FILEOPEN: DOC: Incorrect position of table - on top instead of 5 cm vertical ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:doc
Depends on:
Blocks: DOC-Tables
  Show dependency treegraph
 
Reported: 2017-11-14 15:06 UTC by Xisco Faulí
Modified: 2023-05-19 12:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample DOCX (27.00 KB, application/msword)
2020-03-31 10:41 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2017-11-14 15:06:01 UTC
Steps to reproduce:
1. Open attachment 131200 [details] from bug 103967

Observed behaviour: Table is on top of the document while it should be in the middle.

Reproduced in

Version: 6.0.0.0.alpha1+
Build ID: 9050854c35c389466923f0224a36572d36cd471a
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: th-TH (ca_ES.UTF-8); Calc: group

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2017-11-14 15:07:32 UTC
Regression introduced by:

author	Justin Luth <justin_luth@sil.org>	2017-01-19 13:27:41 (GMT)
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2017-01-23 09:16:24 (GMT)
commit 895f4bc27d518ecaa054d812fa6c24fd4301d327 (patch)
tree 57eab5088a6d1a565740122f1970ceb5609ca5f1
parent 9bd6f00dfe8f71bc9de693bdcd65377ee1e891d0 (diff)
tdf#96277 revert ww8 import: fix upper margin of floating table
commit 3755c87d0426a499d4755e82d8fbc77caa240764
mis-positions non-textframed floating tables.

The patch only worked under very ideal circumstances
that cannot be identified during import time. Lots of bug
reports indicate real world problems with it.

This is a pretty safe revert because the code only
processes a document one time, so old documents don't
depend on this to work.

Bisected with bibisect-linux-64-5.4

Adding Cc: to Justin Luth
Comment 2 Justin L 2017-11-15 15:54:49 UTC
Yes, under certain assumptions the reverted patch made some documents nicer. But it wasn't generally accurate, so it was reverted.

Not treating this bug as a regression. But since the previous bug was a Novell? (bnc), we can leave this report in here as an instance of page-anchored tables not being imported properly.
Comment 3 QA Administrators 2019-03-16 03:56:11 UTC Comment hidden (obsolete)
Comment 4 Timur 2020-03-31 10:41:01 UTC
Created attachment 159182 [details]
Sample DOCX

Repro 7.0+ for original DOC and DOCX saved in MSO.
Comment 5 Justin L 2020-03-31 10:54:39 UTC
So this can be the DOC version of this bug. The DOCX version is bug 80717.
Comment 6 QA Administrators 2023-04-01 03:23:18 UTC Comment hidden (obsolete, spam)
Comment 7 Justin L 2023-05-18 21:18:00 UTC
fixed in LO 7.6 by commit 61be351ac83acec75788d2f79a9038486163160f
Author: Miklos Vajna on Thu Apr 20 08:13:12 2023 +0200
    sw floattable: import floating tables from DOC as split flys by default