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

            Bug ID: 156980
           Summary: "Delete chapter" error message and action in relation
                    to folded headings is inverted in Navigator context
                    menu
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 189218
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189218&action=edit
test document for delete chapter in Navigator

The attached document has three lines.

-----

Heading Level 1  (with outline open)
  Random text
Heading Level 2 (with outline folded)

------

Test 1: 
  1. Place cursor in ”Heading Level 2 – folded”
  2. Use Navigator, right-click on ”Heading Level 1 – open”, choose ”Delete
Heading”

Actual: Dialog box appears, with ”You are trying to delete folded (hidden)
content.”
Expected: Either heading and text is deleted or request a confirm before
deleting.

Test 2: 
  1. Fold outline of ”Heading Level 1”
  2. Place cursor in Heading Level 2.
  3. Use Navigator, right-click on ”Heading Level 1 – open”, choose ”Delete
Heading”

Actual: Nothing happens.
Expected: In light of test 1, I now would expect to get the dialog box that
appeared in test 1.

Test 3:

  1.  Use Navigator, right-click on "Heading Level 2 - folded", choose "Delete
Heading"

Actual and expected:  Get error message about trying to delete hidden content

I think there is one more variation (that I cannot always repeat) where I add a
new heading, and the first time I get the error dialog, then I toggle the
heading closed and open, and then it is deleted.

Tested with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL threaded

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

Reply via email to