Created attachment 188728 [details] Direct formatted text with unwanted page style change This bug is a follow on to AskLO question https://ask.libreoffice.org/t/footer-changing/94219 I am not the creator of the faulty document. I only report the bug on behalf of the asker. The attached document is fully direct formatted (everything is Default Paragraph Style with manually added formatting) except pages are styled MP0. A footer is associated with this style. 1. Select whole text with Ctrl+A 2. Format>Paragraph, change any attribute in Text Flow tab (e.g. request hyphenation or keep with next paragraph) 3. OK Page style has been changed to Default Page Style (which contains another footer, making visible the change). Even if document is direct formatted, no unrequested change sould be observed.
Repro, with a from-scratch document: 1. Create a new Writer document; 2. Press Ctrl+Enter to introduce a hard page break; 3. Ctrl+Home to return to the very first paragraph; 4. Format->Paragraph, Text Flow tab, Breaks: Insert->Page->Before, [x] With page style:Landscape; [OK] 5. Ctrl+A, Format->Paragraph, Text Flow tab; see that Breaks->Insert is in "undefined" state, and [ ] With page style: is empty. 6. Check Hyphenation->[x] Automatically; [OK] => The pages turn from Landscape to the normal portrait-oriented Default Page Style, because the first paragraph's break is cleared.
Repro with attachment in: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: eef0c5d4d45ba35acfb6d8f7551fe565ca4badaa CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Also in OOo 3.3, so inherited.