https://bugs.documentfoundation.org/show_bug.cgi?id=170489
Bug ID: 170489
Summary: FORMATTING Inheritance isn't preserved/restored when
setting paragraph style font size to 100% or +0pt
Product: LibreOffice
Version: 3.3.0 release
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected],
[email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Depends on: 41360
Blocks: 121010
When a new paragraph styles is created based on another style, it's given a
font size equal to the parent. If the parent's font size is changed, the child
follows it (inheritance).
If the child style is given a relative font size, either as a percentage (like
120%) or a difference (like +2pt), any modification of the parent font size is
reflected in the child according to the child relative value. Inheritance is
preserved.💪🏻
If the child style is given a different absolute font size, the inheritance is
lost: OK.
The bug: if the child style is given 100% or +0pt font size, the user expects
that inheritance is preserved (if coming from a different relative value) or
restored (if coming from an absolute value). However, it doesn't happen. What
happens precisely?
- Inheritance is lost: differently from when the child style was created
without modifying font size, now modifying the parent font size doesn't produce
a corresponding change in the child.
- The relative value (100% or +0pt) is converted to the absolute value (this is
bug #41360). I have investigated quite a lot about that, and it seems that this
behaviour cannot be changed without modifying strongly the way LO stores
paragraph style data. According to this current bug, this behaviour could be
accepted, provided that inheritance is restored. Lamentably, the user remains
confused, but if the behaviour is equivalent to that of 100% of +0pt, he can
get over it.
When the child style is given an absolute value equal to the parent one,
inheritance shouldn't be preserved; actually, 100% or +0pt are at the user
disposal if he wants inheritance. Otherwise, if inheritance were restored in
this case, there would not be any way to set the child font size the same value
as the parent without inheritance.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=41360
[Bug 41360] FORMATTING Problem with fontsize in style when expressed in
percentage
https://bugs.documentfoundation.org/show_bug.cgi?id=121010
[Bug 121010] [META] Font size bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.