Bug 156583 - WRITER: Spurious unrequested page style change
Summary: WRITER: Spurious unrequested page style change
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/footer-...
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Page
  Show dependency treegraph
 
Reported: 2023-08-02 13:57 UTC by ajlittoz
Modified: 2023-08-03 10:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Direct formatted text with unwanted page style change (31.36 KB, application/vnd.oasis.opendocument.text)
2023-08-02 13:57 UTC, ajlittoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ajlittoz 2023-08-02 13:57:02 UTC
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.
Comment 1 Mike Kaganski 2023-08-02 14:34:29 UTC
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.
Comment 2 Stéphane Guillou (stragu) 2023-08-03 10:05:18 UTC
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.