Bug 167326 - When Autofit is on in headers - headers contain extra white space, and tables get hidden(data loss) in between pages
Summary: When Autofit is on in headers - headers contain extra white space, and tables...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2025-07-01 13:57 UTC by dames02.00
Modified: 2025-07-08 21:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample1 odt - AutofitOn (329.63 KB, application/octet-stream)
2025-07-01 13:57 UTC, dames02.00
Details
Sample 1 odt - Autofit Off (736.24 KB, application/octet-stream)
2025-07-01 13:58 UTC, dames02.00
Details
Sample 2 odt - Autofit On (27.35 KB, application/octet-stream)
2025-07-01 13:58 UTC, dames02.00
Details
Sample 2 odt - Autofit Off (31.55 KB, application/octet-stream)
2025-07-01 13:59 UTC, dames02.00
Details
Sample 2 Screenshot of data loss (125.72 KB, image/png)
2025-07-01 14:00 UTC, dames02.00
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dames02.00 2025-07-01 13:57:02 UTC
Description:
When Autofit is set to on, upon opening the odt headers contain extra white space, but when removing Autofit this is fixed (as shown in sample 1). Also, with Autofit on tables get hidden in between pages(data loss), and when turning Autofit off, this gets fixed (as shown in sample 2). For sample 2 I have provided a screenshot as well so you can easily see the data loss in-between pages.

This seems to be a very similar issue to what this bug I'm linking here was opened for: https://bugs.documentfoundation.org/show_bug.cgi?id=166978. The fix for this bug removed the issue in a lot of forms, yet Autofit being on is still a very prevalent issue. 

Steps to Reproduce:
1.Have Autofit set to on, and open odt

Actual Results:
After opening the odt, we could see the bug immediately without any further action

Expected Results:
The extra space in the header should not have been there, and the table should have been appearing.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I have both sample 1 and 2 attached along with the version of the odt's that work properly with Autofit off. Also, I have a screenshot of sample 2's data loss.
Comment 1 dames02.00 2025-07-01 13:57:41 UTC
Created attachment 201586 [details]
Sample1 odt - AutofitOn
Comment 2 dames02.00 2025-07-01 13:58:05 UTC
Created attachment 201587 [details]
Sample 1 odt - Autofit Off
Comment 3 dames02.00 2025-07-01 13:58:51 UTC
Created attachment 201588 [details]
Sample 2 odt - Autofit On
Comment 4 dames02.00 2025-07-01 13:59:13 UTC
Created attachment 201589 [details]
Sample 2 odt - Autofit Off
Comment 5 dames02.00 2025-07-01 14:00:47 UTC
Created attachment 201590 [details]
Sample 2 Screenshot of data loss
Comment 6 Mike Kaganski 2025-07-02 05:08:04 UTC
(In reply to dames02.00 from comment #1)
> Created attachment 201586 [details]

This regressed somewhere between 24.2.0.3 and 24.8.0.3.
Comment 7 m_a_riosv 2025-07-02 22:55:44 UTC
Maybe it is in relation with hidden sections, there are a lot of them.
Comment 8 abhishah4444 2025-07-08 21:25:40 UTC
Seems like data loss is persistent and unknown to producer/creator.