[Libreoffice-bugs] [Bug 141206] Name of an XCD affects the results of application of its content

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 29 06:24:58 UTC 2021


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

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Mike Kaganski from comment #0)
> As described at [1], XCD files may be prepared and placed to
> <INSTALLLOCATION>/share/registry to change common defaults, or to block some
> settings modifications.

Not really.  If you want to override (non-final) default configuration
settings, the .xcd file should go into an extension (and thus be installed into
a higher configuration layer than the bottom one,
xcsxcu:${BRAND_BASE_DIR}/share/registry, see the CONFIGURATION_LAYERS bootstrap
variable in the fundamental ini file).

> If copied to C:\Program Files\LibreOffice\share\registry (or renamed to
> 'd.xcd'), only Writer and Calc settings are applied, not Impress.
> If renamed to 'a.xcd', it only applies to Writer.
> If renamed to 'j.xcd', it applies to all three.
> 
> This is unexpected, and not obvious.

The default values for those various ooSetupFactoryDefaultFilter props are
spread across multiple instdir/share/registry/*.xcd files.  In which order
those files from one configuration layer are processed is unspecified, and what
happens if there are two conflicting settings for a given prop in a single
configuration layer is unspecified too.

-- 
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/20210329/f4769c17/attachment.htm>


More information about the Libreoffice-bugs mailing list