Bug 163885 - Page Style doesn't work, LibreOffice 24.2
Summary: Page Style doesn't work, LibreOffice 24.2
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Page
  Show dependency treegraph
 
Reported: 2024-11-13 19:45 UTC by schroff.mau
Modified: 2024-11-19 15:34 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Tested this bug in macOS 15.0.1 and I was able to reproduce. Adding screenshot of bug result. (621.78 KB, image/png)
2024-11-13 21:49 UTC, Nicole A.
Details
Additional context for bug reported with Next Style Field (844.63 KB, image/png)
2024-11-13 22:28 UTC, Nicole A.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schroff.mau 2024-11-13 19:45:49 UTC
Description:
There is a page style that you can use. Default is: "Default Page Style".
You can change in 3 ways:
1. Just right-click on the page, then select "Page Style"
2. Go to upper line "Format", then "Page Style"
3. Bottom line where page and word counter is, there is a selector as well

MY PROBLEM: (yeah, it is a bug in LibreOffice 24.8.2, I also tried 24.2.7)
For larger documents or book designs, I need different page styles. For example, the first page should be "First Page". But not page 1 is then formated in "First page", but page 2. And page 1 is in "Default style". You can use every style, including "Left/right page"

In OpenOffice it just works like it should. The cursor is on one page, you select you prefered style and then it works. But since LibreOffice version 24 this feature doesn't work.

I currently use macOS 13, but the same error happens on Win11 with LibreOffice 24.2

Steps to Reproduce:
1. Open a text document
2. Press ENTER until you have a page 2
3. Try to change the Page Style for page 1 from Default to something other and then check page 2

Actual Results:
I already explained. The new page formatting is not adopted correctly

Expected Results:
Clicking on the wanted page, select the page with cursor, changing Page Style, for example from "Default" to "First Page" and it works. I want my page number 1 to be "First page", not page number 2.


Reproducible: Always


User Profile Reset: No

Additional Info:
.
Comment 1 Regina Henschel 2024-11-13 21:03:20 UTC
I have tested setting page styles on Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded

I have not found any problems.

Please discuss it on Ask [1] to make sure, that your workflow is correct for your purpose.
[1] https://ask.libreoffice.org/c/english/5

In addition here are some general hints:

Your description has a mix of
A
Change the attributes of a page style.
B
Change the page style at a point in the document.

So it is not clear, what your report is about.

For option A there are ways e.g.:
A1) Left-click field in the status bar.
A2) Format > Page style
A3) Sidebar > Styles > Page styles > right-click: Edit Style
A4) right-click page > Page style

For option B there are ways e.g.:
B1) Cursor in first paragraph on page, where a new style has to start: Format paragraph > Paragraph (not Edit style) > tab Textflow > Insert Page break with page style.
B2) Cursor at end of last paragraph before the page, where a new style has to start: Insert > More breaks > Manual breaks > Page break. Select the desired style.

Be careful about whether a page break is set: Look whether there is a dotted line between the pages. If there is a dotted line, you get option B1 as well from the drop-down list you get from right-click on the dotted line.

And for the entire area between points where page breaks are used:
B3) Right-click field in status bar > Select page style.
B4) Double-click page style in Sidebar.

Your "Expected Results" is not clear.
Possible workflow for to set page style "First page" to the first page: Set cursor in first page. Change page style to 'First page' with option B3. The style 'First page' has set 'Default Style' in property 'Next Style', so that the second page has style 'Default Style'.
Comment 2 Nicole A. 2024-11-13 21:49:06 UTC
Created attachment 197602 [details]
Tested this bug in macOS 15.0.1 and I was able to reproduce. Adding screenshot of bug result.

Hello schroff.mau@gmail.com,

Thank you for reporting the bug. I can confirm that the bug is present in LibreOffice version 24.8.2.1 (current version) and in 25.2.0.0 (master build). I have attached a screenshot of my findings that confirms the bug.

Master Build

Version: 25.2.0.0.alpha0
TinderBox: MacOSX-aarch64@tb92-TDF, Branch:master, Time: 2024-11-06 05:23:09
Comment 3 Nicole A. 2024-11-13 22:28:28 UTC
Created attachment 197603 [details]
Additional context for bug reported with Next Style Field


I am adding on to my previous comment. I was able to reproduce the "bug" that was reported but found an additional bug report and it seems this is not technically a "bug" but a confusing implementation of the UI for editing the "Page Style" in LibreOffice. Ideally, when changing the current pages "Page Style" it should apply to that page but the field is called "Next Style" and applies the page style to the next page. This is not clear and there is no intuitive way to update the "Page Style" for the current page.

Additional Bug Report Link:

https://bugs.documentfoundation.org/show_bug.cgi?id=153600

Bug Id: 153600
Comment 4 Buovjaga 2024-11-19 15:34:09 UTC
(In reply to Nicole A. from comment #3)
> Created attachment 197603 [details]
> Additional context for bug reported with Next Style Field
> 
> 
> I am adding on to my previous comment. I was able to reproduce the "bug"
> that was reported but found an additional bug report and it seems this is
> not technically a "bug" but a confusing implementation of the UI for editing
> the "Page Style" in LibreOffice. Ideally, when changing the current pages
> "Page Style" it should apply to that page but the field is called "Next
> Style" and applies the page style to the next page. This is not clear and
> there is no intuitive way to update the "Page Style" for the current page.

Yes there is. Just edit any properties you find in the Page Style dialog to update the style being edited. To apply a completely different style to a page, use Sidebar's Styles deck and its page tab.

About Next style, see page 126 in Writer Guide: https://nextcloud.documentfoundation.org/s/cfQM2jBBFzeWb28