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

            Bug ID: 151728
           Summary: Pasting formula code under a heading is breaking all
                    heading styles without possibility of undoing it
           Product: LibreOffice
           Version: 7.4.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
At some point I noticed that my book's heading styles were broken with an
indent that I couldn't remove. I reverted to an earlier backup, losing half an
hour of work and then I noticed it happened again: when I pasted the code of a
formula under a heading, the heading's style gets irreparably broken. This
affects all heading-derivative styles as well. This isn't an issue in LO 7.3.6
but affects 7.4.1 and 7.4.2. I can't test earlier 7.4.x versions.

Steps to Reproduce:
1. Start a new document
2. Type some text and mark it as Heading 1
3. Press enter twice (this will insert 2 text body lines)
4. Insert a formula object and type some text on the formula editor
5. Copy your text from the formula editor
6. Click on the empty line between the heading and the formula
7. Paste your text

Actual Results:
An indent has been added to the Heading 1 style (the STYLE, not some manual
formatting that can be cleaned) and cannot be removed from the standard style
dialogs. All heading-1 derivative styles are affected.

Undo doesn't work.

Expected Results:
Neither the heading, nor its style should have not been affected in any way.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Please consider giving this bug a very high priority as it may go unnoticed by
users until its too late.

If you can fix this by copying formula code as plain text, so much the better!
There's absolutely no reason to use the style of the formula editor on content
that is meant to be copied on the document itself.

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

Reply via email to