[Libreoffice-ux-advise] [Bug 133134] Inconsistency between paragraph style/character style overwritting direct formatting when applying

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 18 08:36:31 UTC 2020


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

--- Comment #10 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #9)
> ... my model of PS > CS > DF

Heh, your model is wrong. In the simplified case of only considering two kinds
of formatting (paragraph vs character), the model is like "PS > paragraph-level
DF > CS > character-level DF".

Paragraph-level settings include all properties specific to paragraph (like
line spacing or indents), but *also* all character properties as some default
for the paragraph content. And if your DF applies to *characters* or to
*paragraph* depends on the selection at the moment of applying the DF. Of
course, when you select a couple of characters in the middle of a paragraph,
and modify left indent, that setting naturally goes to the paragraph level -
just because that setting can't be on character level. But when you define
underlining, *if you selected a couple characters in the middle*, it's a
character-level DF; and *if you selected the whole paragraph*, it's defined on
paragraph level. It's just a decision (I suppose, some UX-based), and it could
be defined differently (like always defining DF for character properties on
character level) - but I don't know what is broken by that.

However, that is irrelevant to this issue. Be the color and character style
defined on paragraph level, or on character level, would not change the
observed result of comment 0. Because what matters is that applying any style
only resets DF fro properties *defined in the style*, and the CS in question
("Example") defines only a single "font name" property, thus any other property
would not be modified (or overridden).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list