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

            Bug ID: 146793
           Summary: Inconsistency when deleting first paragraph
           Product: LibreOffice
           Version: 7.4.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dgp-m...@gmx.de

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

Steps to reproduce:

1. Open attachment. It contains two paragraphs. First paragraph has PS „Heading
3“, CS „Endnote Characters“ and Character DF „Underline“ (see Style inspector).
Second paragraph has PS „Subtitle“, CS „Variable“ and Character DF „Bold“ (see
Style Inspector).

Test 1:
2. Place cursor at beginning of second paragraph and press backspace and delete
first paragraph
3. Result: First paragraph has PS „Subtitle“ (expected), CS „Endnote Character“
(not expected) and character direct formatting „Bold“ (expected) and
„Underline“ (not expected)

Test 2:
4. Reload document
5. Place cursor at the end of second paragraph and presse backspace until you
deleted everything
6. Result: First paragraph has PS „Heading 3“ (not expected), CS „Variable“
(expected) and character direct formatting „Bold“ (expected)

Test 3:
7. Reload document
8. Select all (Strg+A) and press backspace
9. Result: Same result as in test 2


Actual results
- inconstistent behaviour, depending on whether second paragraph is empty or
not
- Styles and formatting from first and second paragraph are miexed in every
case

Expected result:
Expectation for test 1 and 2: Styles and formatting of first paragraph should
persist
Expectation for test 3: Not really sure, but I would think document should look
lik a new document (so default PS or a certain PS if it is based on a
template). But i would neglect test 3 here. Perhaps it shpould be discussed in
a different report.

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

Reply via email to