https://bugs.documentfoundation.org/show_bug.cgi?id=143904
Bug ID: 143904
Summary: Direct character formatting is getting copied into
paragraph level
Product: LibreOffice
Version: 7.3.0.0 alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
When inserting a new row in a table, Writer copies the row's formattings both
at the level of paragraphs and characters, even though we should avoid to copy
the direct character formattings.
Steps to Reproduce:
1. Create an empty Writer Document
2. Create a table
3. Write "TEXTREDTEXT" in the last cell
4. Select the portion "RED" from the text, and apply a specific Font color on
it
5. Place the cursor in the last cell, and insert a new row after it (simply
press TAB to do this)
6. Write something into the new last cell of the table
Actual Results:
The newly typed text will be the same color, what you set in as a direct
character formatting.
Expected Results:
The newly typed text should be black (default).
Reproducible: Always
User Profile Reset: No
Additional Info:
This bug is a regression of
https://bugs.documentfoundation.org/show_bug.cgi?id=143244
The reason why this regression happened is that: MSO Word uses a paragraph mark
symbol (i.e the control character than can be configured to be shown), which is
imported in Writer as a 0-length hint. To fasten up the import of DOCX tables,
the core applies the formattings from this 0-length attribute on paragraph
level, directly before inserting a new row.
All in all, to solve this bug, we need to make sure, that we only copy the
formattings, if it is a 0-length hint.
--
You are receiving this mail because:
You are the assignee for the bug.