[Libreoffice-bugs] [Bug 138892] FILEOPEN DOCX Empty paragraph after two consecutive breaks gets numbering

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 15 08:04:27 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-bugs at lists.free |jluth at mail.com
                   |desktop.org                 |
            Version|6.1 all versions            |6.1.0.3 release
             Status|NEW                         |ASSIGNED

--- Comment #3 from Justin L <jluth at mail.com> ---
OK - this is what I think was happening.
BEFORE: It gets to pStyle assignment of List Paragraph. Assigns
PROP_NUMBERING_RULES. Then gets to the end of the paragraph and
bRemove/bNoNumbering. NoNumbering removes the applied PROP_NUMBERING_RULE, and
then finishParagraph was called - which did nothing about numbering at that
time.

NOW: pStyle waits until finishParagraph to apply numbering. bNoNumbering
removes directly applied PROP_NUMBERING_RULE, and then finishParagraph is
called, and it applies the list numbering.

Surprisingly, there are no unit tests that hit this behaviour.

This situation just got harder with "Since LO7.0/tdf#131321 fixed the loss of
numbering in styles, this OUGHT to be obsolete,". So this requires ADDING a
cancelling numbering rule in case the style assigns one. 

Proposed fix at http://gerrit.libreoffice.org/c/core/+/107738

-- 
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/20201215/0caee8c3/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list