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

Buovjaga <ilmari.lauhakan...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |filter:docx
     Ever confirmed|0                           |1
                 CC|                            |ilmari.lauhakangas@libreoff
                   |                            |ice.org
           Severity|normal                      |minor

--- Comment #3 from Buovjaga <ilmari.lauhakan...@libreoffice.org> ---
(In reply to Telesto from comment #0)
> Description:
> Editing DOCX: Table of content grows when pressing enter at the start of
> Index, previously you could create an empty area above
> 
> Steps to Reproduce:
> 1. Open the attached file
> 2. Press Enter
> 3. Paragraph formatting dropdown -> Clear formatting 
> 
> Actual Results:
> The gray Table content field expand with a line above. Clear Direct
> formatting clears the 'paragraph formatting' but not the field properties
> 
> Expected Results:
> With 7.1 oldest (and every older version) the field doesn't expand (but has
> paragraph formatting). And clear formatting creates an empty paragraph
> before the TOC. Which is mimicking the behaviour of MSO

With 7.1 oldest, there is no difference. Tested with both Windows and Linux.

The only difference is in version 6.3. Before this commit, the ToC title was
not recognised in DOCX import, so it did not show the "fieldness":
https://git.libreoffice.org/core/commit/ff4f2ba3242d303f7f238a7a142440f1f4b1f288
sw: DOCX: recognize TOC title during import

When testing with ODT, or a ToC created from scratch, there is a change in 7.1.
Earlier, hitting Enter does nothing, it is ignored. Then, with this commit it
creates a paragraph while extending the fieldness:
https://git.libreoffice.org/core/commit/2e32f4ed5af16a68c97a50806a42ffa2d10f1d7a
get rid of long deprecated SwModify::BroadcastModify

Let's maybe keep this as a separate report from bug 146356. Feel free to close,
if there is a good reason.

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

Reply via email to