Bug 142812 - Fileopen DOCX: Right side column/frame missing
Summary: Fileopen DOCX: Right side column/frame missing
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2021-06-12 06:39 UTC by Telesto
Modified: 2023-08-18 17:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
PDF export Word Online (96.44 KB, application/pdf)
2021-06-12 06:40 UTC, Telesto
Details
Bibisect log (11.34 KB, text/plain)
2021-06-12 06:59 UTC, Telesto
Details
Minimized example file (39.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-14 07:00 UTC, NISZ LibreOffice Team
Details
Screenshot of the minimized file in Word and Writer nightly (65.23 KB, image/png)
2021-06-14 07:02 UTC, NISZ LibreOffice Team
Details
The original file in Word and Writer side by side (84.20 KB, image/png)
2021-06-14 07:27 UTC, NISZ LibreOffice Team
Details
The original file in Word and a copy of it in Writer (98.12 KB, image/png)
2021-06-14 07:33 UTC, NISZ LibreOffice Team
Details
The original example in Word 13 and Writer (149.24 KB, image/png)
2023-04-27 12:23 UTC, Gabor Kelemen (allotropia)
Details
The minimal example in Word 2013 and fresh master (210.27 KB, image/png)
2023-04-27 12:25 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-06-12 06:39:40 UTC
Description:
Right side column/frame missing

Steps to Reproduce:
1. Open attachment 166758 [details] (bug 137788)
2. Notice the right side column on page 1 missing

Actual Results:
Missing

Expected Results:
Should be present


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 239b4bb27fd8db26e8416045b3015688a8b1b0ae
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-06-12 06:40:33 UTC
Created attachment 172832 [details]
PDF export Word Online
Comment 2 Telesto 2021-06-12 06:46:21 UTC
Also found in
6.0

and also lacking in (layout even worse)
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

also lacking in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

visible but wrongly positioned
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28
Comment 3 Telesto 2021-06-12 06:59:47 UTC
Created attachment 172833 [details]
Bibisect log

Bibisected to range:
# only skipped commits left to test
# possible first bad commit: [7a4898eaefb0f74c93eae1565a98a42ca5a6b287] source-hash-f7f421670206d265024a99da6bc1ad8781c30c99
# possible first bad commit: [3a1be9b6ce43e08902a752eee536a73ff1a14cb0] source-hash-b95a901089ac096131bb6a4fe9c1f1346ffdde6f
# possible first bad commit: [50e1accc846466eafff061a0d4e178e3ad7b9972] source-hash-232df42b8dc0b4f7a335d2931fc0f29e73b8bca0
# possible first bad commit: [be427cbb6fa494697715cb5f37b71517cd66f1f5] source-hash-51ff75129c6b61d4f3ba31fa189b38bbf867910d
# possible first bad commit: [6b76826d57a332a06f820a344375d5ff84cdfdb1] source-hash-0d3c536d0535fb7d50c123dd8b9d3fdf5d5dc973
# possible first bad commit: [bf145aae9f5944e0971c07615d1071927238a422] source-hash-a323a7df85c6b782cdbd2a35ba0498ceeeb40dec
# possible first bad commit: [aef0b14475d7540f38efb2b28db31d0e0990954a] source-hash-1a6a2c8d1dd01c9c2a334db799689cdce8606ce1
# possible first bad commit: [b08313dffaf842c66f67e0c9ca684b8baf10d0bc] source-hash-dba1bb24ccca95bcdfd4dfae5053867af9d18bab
# possible first bad commit: [2802d1785c04e303005a90ccc6656814be9aef54] source-hash-0f3ad8ce369136c5904e3906a26a764b643d4844
# possible first bad commit: [d98edfe89979f5d0a9dd615f758af913ac7c6f88] source-hash-b7d7e3d7d6bb005701f6659802aa38a0e78c01ad
# possible first bad commit: [fe74fd75fe134e951dd23d3d950bf433aea3e8d6] source-hash-a59504bfb06d57ddb0e1f4cfc02222022fa68da1
# possible first bad commit: [b5f9210d92df68d168c7682a5b2cfe094bd2c6f1] source-hash-31eb55e55103e83025bffacafa7832e4c2575e9a
# possible first bad commit: [73f4052d395d582fe1f05cb1d087502ac5c5405c] source-hash-06941b060bab0b5941b619441ecf767c6a0ab23d
# possible first bad commit: [1c7fcb5c98136ba7a49368b7c711d16b715ed8e2] source-hash-ea1e3b77d43f770715e796d64e4054cec651898f
# possible first bad commit: [b28ec70e02b7df251eab794bb7a46acc9bbce3d5] source-hash-111a2b94fd6f217d91c9a057086b3d2dfa752c5b
# possible first bad commit: [485f9148478d5906d97f2bb05e67544c133654d2] source-hash-2fb543496a61974edd15c2bfefbc83abe225a85a
# possible first bad commit: [51c76d338e62718d4b72d881a95afad4094171d6] source-hash-ecbe980c609de8e719243d6bd4f75d3e9c4aec61
# possible first bad commit: [0013db80baf1427a95edad1717f81d019910778e] source-hash-ffa4798d1f9b1c94278b180482b2e0ef7f6c1481
# possible first bad commit: [016be2fc80fccb99d86177d59bc3639c1c9c33c9] source-hash-7c358450e389d682657be283026403fb6e8931ba
# possible first bad commit: [45b8b8767bd0e3de3c7edf97424e0d4cde78f888] source-hash-abd3338486a515380d50c4ee5f4ab242fb5fd4bd
# possible first bad commit: [56f48d55941dff4aea0f8e6ff513546dfcf24190] source-hash-31e37f8f405d53ad0d5b1a271e07976328f93d64
# possible first bad commit: [852c54b7b15b80b8594b7afb7dfda623584f5cbd] source-hash-f67d166b30dcba9e854716b29e1035693ef7481b
# possible first bad commit: [76914e9ce01db14e44e682321f5870862cc51fc3] source-hash-041d2b88a473cc7ba9b68113f7642dd8417369e4
# possible first bad commit: [fa7dbd3f832b957edbcdaa02c12ae2b31b64a125] source-hash-664594651b2f61b671a05913faf958d6575a598d
# possible first bad commit: [3e9dc522a3e212afb49cf0af41082a6dfb1d1019] source-hash-50e3ac997d1fc05002ba09ebddfa05aa1f2cacd7
# possible first bad commit: [ea3964d2728de8375b6325bbcc74c89aa924a2f2] source-hash-8539eeb163eea7123b8ea0450712a7965336c809
# possible first bad commit: [f91812d264eafdc736a421935275ec468e47f6ee] source-hash-b81f49ce0f3ebf8ff7ed583ba99f31f7c1d49b95
# possible first bad commit: [0800dc6bb907d7c88c1d213e9626f3094f749ece] source-hash-f1d0889058c112c5a594755be7f3482ced2da395
# possible first bad commit: [87d40444d954c288bd99305a1d94f0194d7f541c] source-hash-be59288ff46a7f3462f5d055f06edacc59340c36
# possible first bad commit: [a055c01a50b1cdcd23828d171084a4c75f1a18ca] source-hash-9b92f2146010f96f453384ef6439629dc1cc4f43
# possible first bad commit: [70b118ff447586a5efb9415fdfea6afd0a81b1ff] source-hash-bbef85c157169efa958ea1014d91d467cb243e6f
Comment 4 Telesto 2021-06-12 07:06:05 UTC
Plausible candidate
author	Miklos Vajna <vmiklos@collabora.co.uk>	2013-10-01 16:57:56 +0200
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2013-10-01 17:28:18 +0200
commit bbef85c157169efa958ea1014d91d467cb243e6f (patch)
tree 0160faef29a7ef7bf33b4b37e8bcdc307e4d7f29
parent e85eadc888285a42561cc52133172cf5f4317da2 (diff)
bnc#779620 DOCX import: try harder to convert floating tables to text frames
Since 78d1f1c2835b9fae0f91ed771fc1d594c7817502, we convert floating
tables to text frames only in case it's possible that there will be
wrapping, to give better results for multi-page tables, which are
multi-page, and technically floating ones, but that has no effect on the
layout.

The problem was that we try to do this decision too early, effectively
the page width and margins were counted from the default letter size,
instead of the actual values, which did not arrive at the time of the
decision. Fix this by moving this logic at the section end.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=bbef85c157169efa958ea1014d91d467cb243e6f
Comment 5 NISZ LibreOffice Team 2021-06-14 06:39:39 UTC
Confirming the missing floating table in:

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 93a3e2f86c27b06062708fe788963a0e49f3a90b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 6 NISZ LibreOffice Team 2021-06-14 07:00:05 UTC
Created attachment 172852 [details]
Minimized example file

This seems to be specific to being placed in the header.
A similar floating table appears correctly in the documents body.

I also noticed that having only two empty paragraphs in the header of this document instead of three makes it appear as well.
Comment 7 NISZ LibreOffice Team 2021-06-14 07:02:13 UTC
Created attachment 172853 [details]
Screenshot of the minimized file in Word and Writer nightly
Comment 8 NISZ LibreOffice Team 2021-06-14 07:27:04 UTC
Created attachment 172856 [details]
The original file in Word and Writer side by side
Comment 9 NISZ LibreOffice Team 2021-06-14 07:33:02 UTC
Created attachment 172857 [details]
The original file in Word and a copy of it in Writer

Another interesting side note: the floating table disappears for me only if the document is opened in read only mode, i.e. when it's already open in Word.

In normal read-write mode the thing appears ~correctly.
Comment 10 Timur 2021-06-14 07:36:15 UTC
Bug 137788 is about this document, with screenshot. Not sure would another bug help when the original one didn't have any move.
Comment 11 Telesto 2021-06-14 07:49:18 UTC
(In reply to Timur from comment #10)
> Bug 137788 is about this document, with screenshot. Not sure would another
> bug help when the original one didn't have any move.

bug 137788 comment 8/9 point to 'minimized example' which is "unrelated" commit wise
Comment 12 Roman Kuznetsov 2023-04-22 09:11:38 UTC
Still repro in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 13 Gabor Kelemen (allotropia) 2023-04-27 12:23:02 UTC
Created attachment 186965 [details]
The original example in Word 13 and Writer

The small frame in the margin (anchored in the header) from the original example file now appears in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 006b35d50024b1932d84380b5d2fec1f7066bccd
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 14 Gabor Kelemen (allotropia) 2023-04-27 12:25:32 UTC
Created attachment 186966 [details]
The minimal example in Word 2013 and fresh master

The minimal example file also has the frame now in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 006b35d50024b1932d84380b5d2fec1f7066bccd
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 15 Gabor Kelemen (allotropia) 2023-04-27 12:34:50 UTC
Something is funny here:
windows-7.6 bibisect is 6 days old, not good yet, but nightly master is already good.
Probably not duplicate of bug 61594 but something else.
Comment 16 Justin L 2023-08-18 17:19:55 UTC
Antwoord_op_vragen_van_het_lid_Weverling_over_DDoS-aanvallen_op_internetproviders.docx had the floating table become visible (non-hidden) with 7.6 commit 793f8c35d5e4d0d4420dd94bd4fea0a49445c55c
Author: Miklos Vajna <on Thu Jul 13 08:14:42 2023 +0200
    sw floattable: fix lost floating table right before a hidden para from DOCX

Comment 6's DDoS-aanvallen_op_internetproviders_min1.docx had the table become visible in the earlier commit 2bcfb7231b5ca74f02274cfb74ca8463f78905d6
Author: Michael Stahl on Fri Jan 6 19:07:35 2023 +0100
    tdf#152872 sw: conditionally hide paragraph breaks