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

            Bug ID: 168542
           Summary: Insert -> Page break also includes a new paragraph,
                    which is not by definition desired
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Insert -> Page break also includes a new paragraph, which is not by definition
desired. There are cases where you want to insert page break without paragraph. 

Which can be done, but in totally different dialog. So Insert -> Page Break
appears to be directed to specific workflow.

Steps to Reproduce:
Case A
1. Open the attached file
2. Place cursor after the last character at page 1 (?)
3. Insert -> More Breaks -> Manual Page Break -> Page Style -> Landscape. Press
OK

Result an additional page in portrait introduced. Page 2 becoming page 3,
oriented in landscape. Deleting paragraph on page 2 removes the empty page
without losing the page break (so it's not add a page break 'after' this
paragraph)

Case B
1. Open the attached file
2. Place cursor at the beginning of page 2
3. Insert -> More Breaks -> Manual Page Break -> Page Style -> Landscape. Press
OK

Result: Page 2 becomes landscape, but gets additional Paragraph before

Case D
1. Open the attached file
2. Place cursor at the beginning of page 1
3. Format -> Paragraph -> Text flow tab -> 
a) Check Insert Break 
b) Change position to After
c) Check page style & pick Landscape

Result: Page 2 becomes landscape, set in the paragraph above the page break

Case D
1. Open the attached file
2. Place cursor at the beginning of page 2
3. Format -> Paragraph -> Text flow tab 
a) Check Insert Break 
b) Check with page style & pick Landscape

Result: Page 2 becomes landscape. Defined in the paragraph below the page break


Actual Results:
As described

Expected Results:
I always assumed Insert -> Page Break only insert a page break. However it does
actually two things
A) Insert a new paragraph 
B) Adding a page break

So in an existing document you actually need to go Format -> Paragraph -> Text
flow tab to add page breaks to prevent inserting additional paragraph

This is a kind of confusing for Benjamin. Insert -> Page Break has a prominent
place; easy to find.  However it doesn't produce the intended result instantly.

Sure I do get CTRL+Enter being about adding a new Paragraph + Page Break. 
So it's only the label? Or should the logic/or UI be 'smarter' in some way


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6f68c46d0aa5fe872de0dec8777d35ff91886043
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster;
VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to