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

            Bug ID: 101853
           Summary: UI: Double click page style, causes pages above
                    "current page" to be changed
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: z...@freedbms.net

This arises from bug #98560 , which appears to be a misunderstanding of page
styles and sections - the UI should make this easier for the newbie to
comprehend.

Scenario:
Newbie user wants a document with multiple page styles as follows:
- FirstPage for the first page
- NextPages for pages 2, 3 and 4
- OtherPages for pages 5 onwards.

Newbie procedure:
User creates three page styles, FirstPage, NextPages and OtherPages.
- FirstPage has "NextPages" set as its "Next style"
- NextPages has "NextPages" set as its "Next style"
- OtherPages has "OtherPages" set as its "Next style"

- User creates document with pages 1 to 5, by pressing adding some text and
pressing Ctrl+Enter on each page.

- User navigates to page 1 and double clicks FirstPage page style
  - this causes pages 2 to 5 to all have page style "NextPages"

- User now navigates to page 5, and double clicks OtherPages page style,
expecting page 5 onwards to have page style "OtherPages" and also expects the
page styles for pages 1 to 4 to not change.

Newbie problem:
- User discovers that ALL pages in the document have now had their respective
page style CHANGED to OtherPages, and not just page 5 (and onwards).

Possible UI feature enhancement:
- when double clicking (or otherwise "applying") a new page style to the
current page, and if the current page does not begin a new document "section",
display a dialog to the user asking the user:

  "
  NOTE: The current page does not begin a new section break
  in the document.
  Do you wants a new section break<HELP_LINK> to be inserted
  at the start of the current page?
  Or would you like all pages in this section of the document,
  from pages $SECTION_BEGIN_PG_NUM to $SECTION_END_PG_NUM,
  to be updated to have the new page style $PAGE_STYLE_NAME ?
  "

This would help newbies.

The dialog could have buttons/ checkboxes/ options such as:
 - Insert page break and apply page style to this section
 - Apply page style to all pages in this section
 - Cancel

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to