Bug 160281 - A modal window always opens slowly on OSes with many (13 000) activated fonts, while fontd churns CPU
Summary: A modal window always opens slowly on OSes with many (13 000) activated fonts...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-19 20:48 UTC by sneakers-the-rat
Modified: 2026-03-04 03:13 UTC (History)
3 users (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 sneakers-the-rat 2024-03-19 20:48:52 UTC
Description:
I have a lot of fonts, ok. i admit it. This is a problem in many programs, illustrator hangs when i open the font menu the first time, so does MS word, etc. 

LibreOffice seems to want to recompute the font cache every time i open a modal window - this seems to only happen on modals that have some kind of font setting like editing header/paragraph styles. LibreOffice will hang unresponsive for ~45s and both fontd and libreoffice will spike to using a full CPU core, making it seem like it is recomputing the fonts every time? would it be possible to cache whatever is going on there? 

Resetting user profile did not help

LibreOffice 24.2.1.2 (x86_64)
https://git.libreoffice.org/core/+log/db4def46b0453cc22e2d0305797cf981b68ef5ac
MacOS 14.3.1

Steps to Reproduce:
1. Have a lot of fonts
2. Open any of the font editing modals
3. Wait!

Actual Results:
I had to wait a bunch!

Expected Results:
I should not have to wait a bunch! or at least i should only have to wait one time while the font cache is built


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Thanks for everything you do!
Comment 1 Stéphane Guillou (stragu) 2024-03-19 23:53:31 UTC
Thank you for the report.
I believe this is the same issue as bug 157031.
If you are up for it, a bibisect would be very helpful: https://bibisect.libreoffice.org/

*** This bug has been marked as a duplicate of bug 157031 ***
Comment 2 Philippe Cloutier 2025-05-09 13:30:30 UTC
sneakers-the-rat@protonmail.com: Please provide a concrete reproduction recipe, at least for your step #2, indicating at least one of the affected modal windows.
Comment 3 BogdanB 2025-09-04 15:57:59 UTC
For the reporter: please read comment 1 and 2 from this bug report. Thanks.
Comment 4 QA Administrators 2026-03-04 03:13:39 UTC
Dear sneakers-the-rat,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-NeedInfo-Ping