[Libreoffice-bugs] [Bug 53009] New: Large UserInstallation's user/extensions/bundled/ tree

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 31 17:14:52 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53009

             Bug #: 53009
           Summary: Large UserInstallation's user/extensions/bundled/ tree
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.6.0.4 rc
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: sbergman at redhat.com


With the band aid fix for bug 51252 gone into LO 3.6.0 RC4, it no longer uses
an installation-wide share/prereg/bundled/ tree for some of the registration
information about bundled extensions, but instead generates such information
exclusively per-user (on first start for a user) in the UserInstallation's
user/extensions/bundled/ tree.

Especially on Windows, this tree can become quite large (20MB; see bug 52976). 
(And beside the size issue, the per-user generation on first start for a user
can also lead to a noticeable start-up delay.)  This is mainly due to three
factors:

1  At least on Windows, where there is only a single installation set including
all languages (LibO_3.6.0.4_Win_x86_install_multi.msi), even if only a subset
of the "Additional user interface languages" is selected during installation,
nevertheless all 46 bundled dictionary extensions are always installed.  This
needlessly (and substantially) increases the number of bundled extensions that
need to be processed per-user, where each bundled extension potentially counts
towards the increased space and time requirements.

2  The largest part (18MB, 4096 files and 1335 folders when tested on Windows)
is the UserInstallation's
user/extensions/bundled/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/
tree.  It contains computed help index information for each locale for which a
bundled extension contains help data.  And some bundled extensions contain help
data for more than 100 locales (nlpsolver, presenter-screen, wiki-publisher).

3  The second largest part (1MB, 57 files and 55 folders when tested on
Windows) is the UserInstallation's
user/extensions/bundled/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/
tree.  It contains copies of bundled extensions' .xcu files that contain
%origin% tokens, with those tokens expanded.

I hope to get all three issues addressed eventually.  (1: Bundle the dictionary
extensions with the corresponding optional per-language installation parts.  2:
Compute the help index information on demand, or pre-compute it into the
installation-wide share/extensions/ tree.  3: Remove the use of %origin% tokens
from bundled extensions' .xcu files.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list