Bug 161197 - Tables on header not being rendered Correctly
Summary: Tables on header not being rendered Correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2024-05-21 11:24 UTC by ramchandrakc25
Modified: 2024-05-22 06:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Docx file has 2 tables in header. (19.68 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-05-21 11:27 UTC, ramchandrakc25
Details
screenshot comparison between LO 24.8alpha1 (left) and MS 365 (right) (54.99 KB, image/png)
2024-05-21 13:22 UTC, Stéphane Guillou (stragu)
Details
Screenshot for opening a file in different LibreOffice version and MS Office (216.14 KB, image/png)
2024-05-22 06:11 UTC, ramchandrakc25
Details
Docx file has 2 tables with data in header (103.00 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-05-22 06:12 UTC, ramchandrakc25
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ramchandrakc25 2024-05-21 11:24:47 UTC
Description:
For a docx file created with MS Office, when there are two tables with few rows and text wrapping on another table is set to Around.
It is being correctly rendered with older (7.6.7) but LibreOffice 24.2.3 renders it differently.

The later table is overlapped to first table. 

Steps to Reproduce:
1. Create a document with MS Office, and insert two tables with a few rows in the header.
2. Set the text wrapping to Around on the later table and save the file as docx file
3.Open the document with Writer latest version.

Actual Results:
The later table on the header overlapped with first table. 

Expected Results:
These table should not be overlapped.


Reproducible: Always


User Profile Reset: No

Additional Info:
MS Office 365
Comment 1 ramchandrakc25 2024-05-21 11:27:05 UTC
Created attachment 194242 [details]
Docx file has 2 tables in header.
Comment 2 Stéphane Guillou (stragu) 2024-05-21 13:22:16 UTC
Created attachment 194246 [details]
screenshot comparison between LO 24.8alpha1 (left) and MS 365 (right)

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ae798781ef4df7a1fdef13af0bc459bf4f6e7b4c
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 3 Stéphane Guillou (stragu) 2024-05-21 13:33:13 UTC
I see the issue in a recent daily build, but 7.6.7 didn't look like MS 365 either.

The tables already overlapped in LO 5.0.0.5.
In 4.0.0.3, they didn't overlap (but they weren't aligned).
A bibisect could be interesting, but I wouldn't call it a regression yet.
Comment 4 Stéphane Guillou (stragu) 2024-05-21 13:34:35 UTC
(In reply to ramchandrakc25 from comment #0)
> It is being correctly rendered with older (7.6.7) but LibreOffice 24.2.3
> renders it differently.
I'd be interested to see a screenshot of what you see in 7.6.7.
Comment 5 ramchandrakc25 2024-05-22 06:11:35 UTC
Created attachment 194261 [details]
Screenshot for opening a file in different LibreOffice version and MS Office
Comment 6 ramchandrakc25 2024-05-22 06:12:36 UTC
Created attachment 194262 [details]
Docx file has 2 tables with data in header
Comment 7 ramchandrakc25 2024-05-22 06:13:10 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> (In reply to ramchandrakc25 from comment #0)
> > It is being correctly rendered with older (7.6.7) but LibreOffice 24.2.3
> > renders it differently.
> I'd be interested to see a screenshot of what you see in 7.6.7.

I am sorry that I did not test it fully before creating the issue, but when there was data on the table, it was being rendered correctly, and the LibreOffice version rendering it correctly was (6.4.7).

I have attached the screenshots of all three versions (6.4.7 and 7.6.7 and MS Office)