[Libreoffice-bugs] [Bug 141256] Change "Font" attribute to "default paragraph style" is not applied to its child "Heading", "Footnotes", "Endnotes" and "Preformatted Text"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 23 09:32:58 UTC 2021


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

--- Comment #12 from Mike Kaganski <mikekaganski at hotmail.com> ---
I suppose that the status quo (heading styles having an explicitly set font
name) is because people want to be able to set defaults without using
templates, and that resulted in the (bad IMO, and additionally confusing,
mixing default config and changing settings of current document, and
duplicating a configuration in an obviously unrelated place without making
clear that it's the same as changing a style's properties)
Options->Writer->Basic Fonts. So as long as we have that configure, it's
impossible to *not* redefine fonts for those groups of styles *by default*.

The templates don't have to follow this; and it's possible for template
maintainers (:-)) to change that in the templates that we bundle if they
consider that useful; but note that as soon as user opens the abovementioned
Options page, and does modifications there, it would be changed in the opened
document (which is likely wanted if user does that?).

(In reply to rafael.linux.user from comment #9)
> At least, "Headings" should not be child of "Default style paragraph",
> and have its own independent hierarchy tree, IMHO.

No. This is not correct, because hierarchy is not limited to inheriting font
name.

> Any user guess that in a hierarchy, changes should work like I supposed to
> be.

And it's *supposed to be* that any property defined explicitly takes
precedence. Or otherwise the hierarchy would not make sense, because there
would be no way to re-define anything in the children.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210423/5427e140/attachment.htm>


More information about the Libreoffice-bugs mailing list