Bug 168247 - Bottom margin reset to default when adding Footer
Summary: Bottom margin reset to default when adding Footer
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-02 06:37 UTC by Dragan
Modified: 2026-01-18 15:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo document (9.28 KB, application/vnd.oasis.opendocument.text)
2025-09-08 19:03 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragan 2025-09-02 06:37:36 UTC
Description:
In LibreOffice 25.2.5.2, when defining a page style with top and bottom margins set to 10 mm and left and right margins to 20 mm, adding a Footer causes the bottom margin to revert to the default value (20 mm). After reopening the page style settings and manually resetting the bottom margin to 10 mm, the value is accepted and the layout is correct. This behavior can confuse users and interferes with precise page layout setup.

Steps to Reproduce:
1. Open LibreOffice Writer 25.2.5.2.
2. Create or edit a page style (e.g., "Portrait") with the following margins:
   - Top: 10 mm
   - Bottom: 10 mm
   - Left: 20 mm
   - Right: 20 mm
3. Add a Footer to the page style.
4. Observe that the bottom margin is reset to 20 mm (default).
5. Open the Page Style settings again and set the bottom margin back to 10 mm.
6. Observe that the value is now accepted and layout is correct.


Actual Results:
Adding a Footer automatically resets the bottom margin to the default value (20 mm).

Expected Results:
The bottom margin should remain at the user-defined value (10 mm) when adding a Footer.


Reproducible: Always


User Profile Reset: No

Additional Info:
- Observed in LibreOffice 25.2.5.2 (system DEB) on Linux Mint 21.2 Cinnamon 64-bit.
- Top and side margins remain correct; the issue only affects bottom margin when Footer is added.
- Minimal test document can be provided upon request.
Comment 1 BogdanB 2025-09-08 19:03:29 UTC
Created attachment 202754 [details]
Demo document

I created a document, but in my case everything is fine.

Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: ro-RO (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2025-09-09 16:06:32 UTC
No repro with Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d3f499361039b7933dfdae405dabdc8b631dcf79
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2026-01-18 15:36:32 UTC
Dragan: any comment on Bogdan's testing in comment 1? Do you still see this in 25.8?

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.