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

--- Comment #6 from Jim Raykowski <rayk...@gmail.com> ---
(In reply to sdc.blanco from comment #0)
> 
> 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.
I repro this bug.

> 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.
After I set outline folding not to include sub levels I was able to repro this.
I agree that the dialog box should be shown. 

> 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
To repro this, I needed to first fold "Heading Level 2 - folded". Reading
comment 2, I see you had clarified this.

> 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.
I'll look into why Test 1 and 2 don't show the dialog box. Same happens when
the "Instructions:" heading is folded. I wonder if this has always been the
behavior or if something has changed that has caused this.

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

Reply via email to