[Libreoffice-bugs] [Bug 124895] New: Multiple selected chapter promote/demote produce incorrect results

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 23 07:31:01 UTC 2019


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

            Bug ID: 124895
           Summary: Multiple selected chapter promote/demote produce
                    incorrect results
           Product: LibreOffice
           Version: 6.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: raykowj at gmail.com

Created attachment 150931
  --> https://bugs.documentfoundation.org/attachment.cgi?id=150931&action=edit
test headings

Steps to show incorrect chapter promote results:

1) Open the attached Headings file
2) Open Navigator (F5 or Ctrl+F5 to open sidebar then select Navigator deck)
3) Select Headings
4) Switch to content navigation root mode by using the Content Navigation View
button in the tool box
5) Select Uberscrift 10, 20, and 30 (Ctrl key + mouse click items to multi
select)
6) Click on Promote Chapter button in the tool box

Results look correct:

Uberscrift 10
Uberscrift 20
Uberscrift 30
Uberscrift 1
Uberscrift 40
Uberscrift 50
Uberscrift 60

7) Expand Uberscrift 10 by clicking on the + or > expand button
Sub chapters 11 - 18 are shown. Where is sub chapter 19?

8) Expand Uberscrift 30
Sub chapter 19 now follows sub chapter 39.

Expected results:
Uberscrift 10 contains sub chapters 11-19
Uberscrift 20 contains sub chapters 21-29
Uberscrift 30 contains sub chapters 31-39


Steps to show incorrect chapter demote results:

1) Follow above steps 1-4
2) Select Uberscrift 30, 40 and 50
2) Click on Demote Chapter button in the tool box

Results are:

Uberscrift 1
Uberscrift 10
Uberscrift 20
Uberscrift 60
Uberscrift 50 sub chapters 51-52
Uberscrift 30 sub chapters 31-39
Uberscrift 40 sub chapters 41-49 followed by 53-59

Expected Results:

Uberscrift 1
Uberscrift 10
Uberscrift 20
Uberscrift 60
Uberscrift 30 sub chapters 31-39
Uberscrift 40 sub chapters 41-49
Uberscrift 50 sub chapters 51-59

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190423/80be7b3f/attachment.html>


More information about the Libreoffice-bugs mailing list