Bug 136412 - Insert page break with page style overwritten when applying when applying page style to next page
Summary: Insert page break with page style overwritten when applying when applying pag...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 135806 (view as bug list)
Depends on:
Blocks: Writer-Page-Break
  Show dependency treegraph
 
Reported: 2020-09-02 19:52 UTC by Telesto
Modified: 2020-12-18 07:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (11.06 KB, application/vnd.oasis.opendocument.text)
2020-09-02 19:52 UTC, Telesto
Details
Example file (10.31 KB, application/vnd.oasis.opendocument.text)
2020-09-04 21:30 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-02 19:52:32 UTC
Description:
Insert page break with page style overwritten when applying when applying page style to next page

Steps to Reproduce:
1. open the attached file
2. Place the cursor at the bottom of page 2
3. Press CTRL+Enter
4. Cursor on page 3 Sidebar -> Page Styles -> Double Click Landscape

The page style for page 2 is defined as a paragraph. The page style of page 3 is defined by 'Page Style, next page style' Which inherits the style from paragraph style. 

Actual Results:
Page 2 and 3 get rotated

Expected Results:
I intended to only change page 3


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-09-02 19:52:46 UTC
Created attachment 165050 [details]
Example file
Comment 2 Telesto 2020-09-02 19:54:39 UTC
*** Bug 135806 has been marked as a duplicate of this bug. ***
Comment 3 Regina Henschel 2020-09-03 09:33:41 UTC
Step 4 of the description is not clear to me. There is no "Landscape" that can be double-clicked. 

Both page 2 and page 3 use the page style "Envelope". When you change something in this style, this will of cause affect _all_ pages which use this page style. Thereby it is irrelevant where the cursor is, when you change a page style.

If you want different style attributes for page 2 and page 3, then you need to use different page styles. Using Ctrl-Enter inserts a page break but does not set a new page style. To insert a page break _and_ change the page style, you have to use Insert > More Breaks > Manual Break and select the new style from the drop-down list "Page style".
Comment 4 Telesto 2020-09-03 11:36:08 UTC
(In reply to Regina Henschel from comment #3)
> Step 4 of the description is not clear to me. There is no "Landscape" that
> can be double-clicked. 

Sidebar -> Styles tab -> Page styles -> Landscape can certainly by double clicked. 

> Both page 2 and page 3 use the page style "Envelope". When you change something > in this style, this will of cause affect _all_ pages which use this page style. > Thereby it is irrelevant where the cursor is, when you change a page style.

That's indeed the observation. But not totally content with this, of course

If you want different style attributes for page 2 and page 3, then you need to use different page styles. Using Ctrl-Enter inserts a page break but does not set a new page style. To insert a page break _and_ change the page style, you have to use Insert > More Breaks > Manual Break and select the new style from the drop-down list "Page style".

Already known. Alternative route.. Press CTRL+Enter Blue header bar or Paragraphy Style Text flow

---
However what I - Benjamin - would expect: only page 3 gets changed. Double Clicking a Page Style should insert a (new) page break if not already present (the other case being already present with a style set) and apply the they Page Style (in this case Landscape) to only that page. 

If below page 3 are more pages.. A page break should be added on top and below. So simple the page in question would be rotated. If more pages a selected, a page break should be insert at top and bottom of the selection.

The current implementation is an approach with a logic behind it. However, i'm running into conflict pretty often to what I intended to do and what the actually result is. Ultimately I probably get the desired result. However the current approach feels like it makes things harder.

Of course, I can only argue from my experience, so I can't speak for THE user base. Nor do I have a in depth UX research paper about this topic. So can't proof that I'm right (or not). It's only my perception that it maybe should work differently. 

Except it being extremely hard to get representative insight in what the current design actually is and what the public would like to be. I surely convinced that people run into (sub)optimal designs once in a while; however those don't land here ;-(. For plenty of reasons. So there no way of knowing (for sure). 
And in addition the decisions are made by a small group of people. With their own preferences (not saying I'm representative). From my perspective markdown enabled by default kind of personal preference.. However I'm of course one of those who dislikes it. 

-> Even more of topic
They current approach is to be very conservative (do nothing). Or listing to the loudest voices. Same problem is around with the tabbed dialog. Different stances. I personally grasp both directions all to well. I personally see no objection for tabbed being default as long as a minimum quality standard of the toolbar is met. But not not having a strong opinion. Argument can go both ways. However the result we be a UX meeting with 1-3 people attending deciding? The discussing is finding place at obscure bug tracker in a bug report & a UX-meeting. Somehow I wish it could be done better. But participation with plenty (if you already can get those active) will be one big mess. With numerous of opinion, visions etc, without a 'deceive' straight forward answer :-(
Comment 5 Justin L 2020-09-04 08:48:35 UTC
(In reply to Telesto from comment #4)
> However what I - Benjamin - would expect: only page 3 gets changed. Double
> Clicking a Page Style should insert a (new) page break if not already
> present (the other case being already present with a style set) and apply
> the they Page Style (in this case Landscape) to only that page.

This approach would litter the document with page breaks. And what about someone who wants to change the entire document from default to landscape? Now they would not be able to just double-click on Landscape. (Of course, they could modify the orientation of Default - but that is a lot harder conceptually.

And what happens if you want to change it back to the page style that matches the previous page. Will that remove the page break? But what if the page break was intentionally added?

I would not be in favour of making any changes. This ends up being user preference for something that is not clearly wrong. Actually, the current situation is very logical and very consistent.

The MS Word way to do this would be to select a bunch of paragraphs, and then have the change apply to the selection. That would be the only time I would concede going with Telesto's proposal of before/after page breaks. (But would a user actually try selecting before attempting a page-style change?)
Comment 6 Telesto 2020-09-04 09:48:54 UTC
(In reply to Justin L from comment #5)
> (In reply to Telesto from comment #4)
> > However what I - Benjamin - would expect: only page 3 gets changed. Double
> > Clicking a Page Style should insert a (new) page break if not already
> > present (the other case being already present with a style set) and apply
> > the they Page Style (in this case Landscape) to only that page.
> 
> This approach would litter the document with page breaks.

-> Fair point

 And what about
> someone who wants to change the entire document from default to landscape?
> Now they would not be able to just double-click on Landscape. (Of course,
> they could modify the orientation of Default - but that is a lot harder
> conceptually.

-> There is a cost benefit ratio


I clearly need to list they user cases :-). I'm reasoning from the perspective of having a multi page document, and want to rotate a single page. In Word (2003) I use File -> Page Properties. Next best thing is Format -> Page Styles -> Page tab (but that's certainly doing something different). The same mistake is even made in the Tabbed toolbar. Page portrait changes the default page style to portrait mode.

So still the opinion that there must be; something to improve the current situation. I'm still not denying that the current workflow being consistent, from within the paradigm/concept. However it's not that easy to get. So enough potential get you annoyed/frustrated/mad. 

And the dialog must be build that way that it works out of the box without reading the manual/help as far as possible. The read the manual approach for Text Editor isn't the first thing I'm inclined to do. And the need for reading the manual for a simple page rotation (landscape). I would rather quick consider one of the competitors. And it's of course setting the tone for the whole application.. Ideally I would get a group of 100 volunteers testing the switching a single page in a document to portrait mode.. And see if the succeed and how much time it has taken them :-)

Also you want to convert 'user from' different Word editors (if you want to grow). So GUI comparability might help. 

Still convinced something has to be changed :-). Next attempt:
1) First page paragraph style -> Set text flow /page break & apply Paragraph style
2) Press CTRL+Enter (page break)
3. Select the second page.. Right Click status bar/ page style & set it to Landscape -> Both pages change.. I would assume the page style would be set at the first page break 

The objection against this being? [Hopefully not wasting so much precious time] You may answer very short lines :-]
Comment 7 Telesto 2020-09-04 21:30:31 UTC
Created attachment 165163 [details]
Example file

Another example

1. Open the attached file
2. Go to page 2
3. Change the page style to envelop or something like that.

Both pages are affected. Second page is Landscape because Next Style is set to Landscape. Which is what's shown.. However.. after you set different page style for the second page changes too. Which feels unexpected/unnatural to me
Comment 8 Justin L 2020-12-18 07:21:26 UTC
CTRL-ENTER is a start-new-page-here page-break, not a start-a-different-page-style section-break. NOTABUG.

These bug reports just need to be closed. Ultimately, the human needs to learn the tool they are using.