Bug 136495 - Documentation on how to inset a page with different orientation in between pages without affecting the layout of the previous or next pages
Summary: Documentation on how to inset a page with different orientation in between pa...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Rafael Lima
URL:
Whiteboard: target:7.3.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-05 13:34 UTC by Telesto
Modified: 2022-04-06 14:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.23 KB, application/vnd.oasis.opendocument.text)
2021-09-27 18:09 UTC, Telesto
Details
Example file (8.31 KB, application/vnd.oasis.opendocument.text)
2021-09-29 21:42 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-05 13:34:55 UTC
Description:
Hard to insert a page with different in between pages without affecting page style of other pages

Steps to Reproduce:
1. Open the attached file
2. Insert - Manual Breaks -> Manual Break
3. Pick default style

Actual Results:
1) First page landscape
2) Second page default
3. Page default

Expected Results:
Intended; Insert a new page between two landscape pages. Result is First landscape, second Default, third default.

Yes, yes it perfectly explainable; however not WYSIWYG.  


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Dieter 2021-03-28 09:59:57 UTC
Telesto, it seems, that nobody could confirm this bug since more than one year. So Iā€˜d like to ask, if it is still reproducible for you. Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/current.html? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 QA Administrators 2021-09-26 03:58:32 UTC Comment hidden (obsolete)
Comment 3 Telesto 2021-09-27 18:09:55 UTC
Created attachment 175298 [details]
Example file
Comment 4 Telesto 2021-09-27 18:12:01 UTC
Still there 
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d5e55d204b71710eb5eb5d2c683dd6698626df3c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL

UX topic; not totally certain if this has been handled already; I find the page style handling inconvenient, but well I argued a lot about that already
Comment 5 Dieter 2021-09-29 17:54:22 UTC
I confirm the behaviour, but I don't think, that this is a bug:

Attached file has a page break, but this is a page break with no style (you can see this, if you edit page break). So it takes always the page style from the previous page. Therefore it changes to portrait, if you enter page break with default page style.

If you assign page style landscape to the page break in the document, you'll get the expected result, if you insert page vbreak with default page style

=> RESOLVED NOTABUG

Feel free to change it back with a short reasoning, if you disagree.

Perhaps it wold be useful to add information to following help page: https://help.libreoffice.org/7.3/en-GB/text/swriter/guide/page_break.html?&DbPAR=WRITER&System=WIN
Some informations are provided here: https://help.libreoffice.org/7.3/en-GB/text/swriter/01/04010000.html?&DbPAR=WRITER&System=WIN
Comment 6 Telesto 2021-09-29 21:42:37 UTC
Created attachment 175380 [details]
Example file

(In reply to Dieter from comment #5)
> Perhaps it wold be useful to add information to following help page:
> https://help.libreoffice.org/7.3/en-GB/text/swriter/guide/page_break.
> html?&DbPAR=WRITER&System=WIN
> Some informations are provided here:
> https://help.libreoffice.org/7.3/en-GB/text/swriter/01/04010000.
> html?&DbPAR=WRITER&System=WIN

This probably more productive approach.. After reading you're comment I recall nagged about this from different angels and with success various people (UX/developers). 

I see inserting or changing an existing page from Portrait to Landscape (and back) as the most common case 

Topics of most interest (from my perspective)
* Changing the first page to 'Landscape' where the next pages should be Portrait
* Insert a new page, with different orientation between existing pages
* Change orientation of existing page in a document without affecting the reset

The issue being that you have multiple tools which look a good candidate at the start, but don't work out as expected.

No go
* Format -> Page Style -> Page Tab -> Landscape (makes the default Landscape
* Format -> Page Style -> Organizer Tab -> Next Style -> Landscape (not intended to be used; Word Model?
* Double clicking a page style inside sidebar with cursor some page -> Problem of the scope of the change.. Not limited to single page but some range (if page break has no explicit style, those will be included too)

Route A; Insert -> Manual Page break -> and using explicit page style was most productive route.
Route B: CTRL+A Enter -> Soft break.  Next Format -> Paragraph -> Text flow tab ->  Check With page style -> Landscape 

---
Side-kick
Another topic to include is DOCX conversion.. Defining a style for a page explicitly creates pretty unworkable end result. Every page getting a unique Style :-(; so Page Style Portrait applied to different pages becomes "Converted1" for page 1 "Converted2" for page to " Converted 3" for page 3 and so on. [Save attached file to DOCX; and look at Format -> Paragraph -> Text flow tab. 

Consequence A: The usage of styles being ruined. There is no single page style (Landscape) anymore where can change something which affects all pages with same style (every page gets unique style] 
Consequence B: The generic name makes really uninformative what so special about the style. [No clue if DOCX being capable to store style names; doesn't look that way] LibO Page Style model isn't MSO approach :-(. And hell for intercompatibility
Comment 7 Rafael Lima 2021-10-05 19:12:30 UTC
Considering that switching between Landscape / Portrait is done very often by users (and questioned about), I believe the help page could better explain how to do this.

I'm taking this one.
Comment 8 Rafael Lima 2021-10-05 20:42:44 UTC
JFTR there is this page about Changing Page Orientation:

https://help.libreoffice.org/7.3/en-GB/text/swriter/guide/pageorientation.html
Comment 9 Dieter 2021-10-05 20:59:34 UTC
(In reply to Rafael Lima from comment #8)
> JFTR there is this page about Changing Page Orientation:
> 
> https://help.libreoffice.org/7.3/en-GB/text/swriter/guide/pageorientation.
> html

I think this is almoste everything we need. What is missing:
- Inserting and deleting Page breaks [1] should be added as related topic
- short information, that manual page break might cause some trouble (see this bug here)


[1] https://help.libreoffice.org/7.3/en-GB/text/swriter/guide/page_break.html?&DbPAR=WRITER&System=WIN
Comment 10 Commit Notification 2021-10-06 00:50:22 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ff4b6d982cb29758b1e81e04f8e404c8ea7324c9

tdf#136495 Explain how to quickly switch between Landscape / Portrait
Comment 11 Dieter 2022-04-06 14:55:04 UTC
VERIFIED

There is a new part "To Quickly Switch Between Portrait and Landscape Page Layout" in documentation:
https://help.libreoffice.org/7.4/en-GB/text/swriter/guide/pageorientation.html?&DbPAR=-WRITER&System=WIN
and in
https://help.libreoffice.org/7.4/en-GB/text/swriter/guide/page_break.html?&DbPAR=WRITER&System=WIN

Rafael, thanks for fixing it!