Lag to scroll fonts list after many fonts (100+) installed. Maybe the `font-preview` causes it.
Steps to Reproduce:
1. Install many fonts (like Noto sans fonts...)
2. Open Writer and scroll font list to Noto Sans area.
CPU usage high and UI lag.
Normally CPU usage.
User Profile Reset: Yes
Could you please paste the info from Help - about LibreOffice ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
(In reply to Xisco Faulí from comment #1)
> Could you please paste the info from Help - about LibreOffice ?
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' once the information has been provided
Build ID: 6.2.2-2
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3;
Locale: en-US (en_US.utf8); UI-Language: en-US
Created attachment 153392 [details]
It's true, Noto Sans chokes it somewhat. The lag/CPU hit is not as bad with kf5 backend.
Arch Linux 64-bit
Build ID: b9a776837462eeb6d50d0decc42604c0c3008eb1
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3;
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Built on 11 August 2019
fontconfig version 2.14 released on 2022-03-31 includes a huge performance boost related to this problem. The relevant code change is https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/8022ab4aff469a8f095ce3168d879d3e0b3605ef
I have Arch Linux and they shipped the 2.14 version and the problem is now gone with gtk3 LibreOffice.