Bug 160281 - UI - fontd churns every time a modal window opens
Summary: UI - fontd churns every time a modal window opens
Status: RESOLVED DUPLICATE of bug 157031
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: 2024-03-19 23:53 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 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 ***