Bug 138831 - Slow startup with many fonts installed
Summary: Slow startup with many fonts installed
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 17:31 UTC by Paul Menzel
Modified: 2020-12-11 20:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Menzel 2020-12-11 17:31:16 UTC
LibreOffice: 7.0.4~rc2-1

Users reported slow startup time of 15 seconds of LibreOffice Writer on a modern system with AMD Ryzen 3 2200G, 16 GB RAM and SSD running Debian sid/unstable.

The LinuxQuestions.org post *[SOLVED] LibreOffice Slow to Launch * [1] referenced the solution described in article *LibreOffice Slow to Launch* [2], and indeed uninstalling the font package *fonts-noto-extra* with an install size of 269 MB reduced the startup time to around four seconds (which is still longer than the OS takes to start).

Could the font parsing be taken out of the startup path?

[1]: https://www.linuxquestions.org/questions/slackware-14/libreoffice-slow-to-launch-4175671055/page2.html
[2]: https://www.remembertheusers.com/2020/03/0624-libreoffice-slow-to-launch.html
[3]: https://packages.debian.org/sid/fonts-noto-extra
Comment 1 V Stuart Foote 2020-12-11 20:10:06 UTC
Already can configure to not show a preview of the fonts, or of the styles--speeds things up.  

1)  Tools -> Options -> View 'Show preview of fonts', uncheck;

2) Any module's Sidebar -> 'Styles' deck 'Show previews' uncheck.


The Styles preview will record stanza to user's LO profile

"<item oor:path="/org.openoffice.Office.Common/StylesAndFormatting"><prop oor:name="Preview" oor:op="fuse"><value>false</value></prop></item>"  

so edit there or this can be changed in the Expert configuration dialog as well.

Couldn't find where 'Show preview of fonts' is recorded for directly editing.