Steps: 1) Insert -> Page Number 2) Bottom of page (Footer) 3) [enable] Fit into existing margins (so that it don't change margins) 4) Click on the footer 5) Click to open 'Footer (Default Page Style)' context menu 6) Delete footer... Actual result: Margin is enlarged by the size of deleted footer. Expected result: Option to delete header and footer without changing page margins. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1d8ff7bd62249ad0f825eaca18ea524d9d7c6c2e CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded
Created attachment 199937 [details] Example document
Created attachment 199938 [details] 'Delete Footer...' enlarges page margins MP4 Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1d8ff7bd62249ad0f825eaca18ea524d9d7c6c2e CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded
Hello, At present requested result could be reached by "Adjust Header/Footer Size to Zero (instead of deleting them)". A bit cumbersome. I can confirm that the bag is present in master. Version: 25.2.0.3 (X86_64) / LibreOffice Community Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069 CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded and Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a8ec21adf255b70bb6eeb0a1717190df303d8b26 CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded
(In reply to mikhail.machine from comment #3) > ...requested result could be reached by "Adjust Header/Footer Size > to Zero (instead of deleting them)". A bit cumbersome. GUI steps [1] I. METHOD: Menubar: 1) Styles ⇾ Manage Styles F11 // or Alt+F2 (Sidebar) In sidebar: 2) Page Styles (fourth button) In sidebar Page Styles list: 3) + Default Page Style 4) Right click 5) Edit Style... In Page Style window: 6) Footer 7) "Footer on" [disable (uncheck)] II METHOD: Page: 1) Click on the footer 2) Click on "Footer (Default Page Style)" blue button appeared along with a blue dashed cut-off-line above the footer area to open the context menu 3) Format Footer... In Page Style window: 4) Footer 5) "Footer on" [disable (uncheck)] [1] According to 2025-03-07 LO master: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 894563ee0e4032019623a97c313af3d833863b1f CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded https://git.libreoffice.org/core/+log/894563ee0e4032019623a97c313af3d833863b1f
Comment #4 solutions also moves page margins to the top (in case of header) or to the bottom (footer).
Created attachment 200042 [details] 3 different UI ways to delete header/footer that causes margin position shift (In reply to Piotr Osada from comment #5) Like this. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 894563ee0e4032019623a97c313af3d833863b1f CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: pl-PL (pl_PL); UI: en-US Calc: CL threaded
Created attachment 200043 [details] Header options window (In reply to mikhail.machine from comment #3) > At present requested result could be reached by "Adjust Header/Footer Size > to Zero (instead of deleting them)". What have you meant? By these dimensioning options (Page Style ⇾ Header) result will not be the same.