Bug 131735

Summary: Fileopen DOC: misplaced floating table (vertical position relative to page) (comment 6)
Product: LibreOffice Reporter: Timur <timur>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aron.budea, jluth, vmiklos, xiscofauli
Priority: low Keywords: filter:doc, filter:docx
Version: 4.4 all versions   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=100676
https://bugs.documentfoundation.org/show_bug.cgi?id=80717
Whiteboard: target:7.6.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112700, 139532    
Attachments: DOC compared MSO LO
DOCX from DOC saved in MSO
/home/justin/Downloads/100676 inscricao_regulamento_workshop_sabores_da_india-unprotected_word2010.pdf

Description Timur 2020-03-31 10:54:30 UTC
Created attachment 159183 [details]
DOC compared MSO LO

DOC attachment 159136 [details] opens with misplaced floating table (vertical position relative to page), as attached.
Similar issue if resaved in MSO as DOCX.
If floating wrap around turned off in MSO, it positions as in LO.
Comment 1 Timur 2020-03-31 10:55:19 UTC
Created attachment 159184 [details]
DOCX from DOC saved in MSO
Comment 2 Xisco FaulĂ­ 2020-03-31 16:18:21 UTC
Reproduced in

Version: 7.0.0.0.alpha0+
Build ID: 169a10f0e4680814145b668c6320be04038d7a89
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

in previous versions, it seems even worse
Comment 3 QA Administrators 2022-04-01 03:39:35 UTC Comment hidden (obsolete)
Comment 4 Timur 2022-04-01 08:46:43 UTC
(In reply to QA Administrators from comment #3)
> it's possible that the bug has been fixed, or the details have changed. 
Is this an April joke? 
No change in 7.4+-
Comment 5 Justin L 2023-03-22 13:22:32 UTC

*** This bug has been marked as a duplicate of bug 80717 ***
Comment 6 Justin L 2023-05-19 12:22:41 UTC
100676 inscricao_regulamento_workshop_sabores_da_india-unprotected.doc changed for the worse with LO 7.6 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

All of the frames from page 2 have jumped to the first page. Page 3 (now page 2) has a large gap at the beginning that must have come from a fly that flowed back to page 1.
Comment 7 Justin L 2023-05-19 12:23:20 UTC
Created attachment 187399 [details]
/home/justin/Downloads/100676 inscricao_regulamento_workshop_sabores_da_india-unprotected_word2010.pdf
Comment 8 Justin L 2023-05-19 12:25:57 UTC
Note: MS Word 2010 complains that the document is unsafe and opened in private mode. However, a resave acted the same way, so I don't think the problems seen are in any way affected by possible corruption.
Comment 9 Justin L 2023-07-11 21:41:11 UTC
It looks good to me now,
since 7.6 commit 63de1ea465ef72ecb8d4a7dcdaf5e92ea875eb00
Author: Miklos Vajna on Fri May 26 09:00:05 2023 +0200
    sw floattable: handle fDontBreakWrappedTables in the DOC filter

I don't have the Century Gothic font, so I see some spacing issues, but that should be irrelevant for this bug report. Marking as fixed.