https://bugs.documentfoundation.org/show_bug.cgi?id=157801
Bug ID: 157801
Summary: Direct formatting is applied opening Character
properties dialog (Highlighting tab) and pressing OK
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Open attachment 179731. Put cursor into yellow area. Open Style Manager, to see
that there is some paragraph-level direct formatting (Char Back Color, Char
Back Transparent, and Char Shading Value), and no character-level direct
formatting.
Now open Character Properties dialog (Format->Character), open Highlighting
tab, and immediately press OK - without changing anything.
In versions up to 7.6, it unexpectedly adds a character-level Char Highlight
direct formatting. In current master (after commit
614dfb98cd4705b63bf1e525d3d34df9ce950ebb), it also adds Char Back Color, Char
Back Transparent, and Char Shading Value as character-level direct formatting.
The expected result of opening the properties dialog, and immediately pressing
OK without changing anything (or alternatively, after changing something there
and then pressing Reset then OK), is no changes in applied properties at all.
While the change (more direct formatting) after commit
614dfb98cd4705b63bf1e525d3d34df9ce950ebb might be a different issue, the
original application of Char Highlight direct formatting is an own bug,
possibly related to specifics of implementation of the Area dialog. It has an
own logic of storing, applying and resetting of properties (it uses own item
sets in m_pResetSet and maSet, with some hacks like "hack to restore color tab
page Active preview" in TblDestinationHdl_Impl).
Jim: could you please take a look? Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.