Bug 148506 - font dropdown selection lagging
Summary: font dropdown selection lagging
Status: RESOLVED DUPLICATE of bug 148169
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-11 08:55 UTC by Jurgen Schellaert
Modified: 2022-04-20 08:54 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 Jurgen Schellaert 2022-04-11 08:55:18 UTC
Description:
When I select the font dopdown in the main interface, the GUI is unresponsive for at least 5 seconds. Selecting a font or manipulating the scrollbar has the same effect. Throughout the lag, my CPU is continuously boosting to its limit, making other applications on the desktop unresponsive. Closing LO after this can take up to 30 seconds. 

I am currently using Ubuntu 22.04 with LO 7.3.2.2. I have switched out the system version with the flatpak version and with the DEB packages from your site. All three formats are affected. Resetting profiles makes no difference. I have experimented with disabling OpenGL; it does not appear to have any effect.

I have now moved to 7.2.6.2 (DEB packages from your site) and that version does work properly. 

Steps to Reproduce:
1.Click on the font dropdown arrow
2.click on a font or manipulate the scroll bar
3.

Actual Results:
The GUI freezes for 5 - 7 seconds with every gesture.

Expected Results:
Scroll down/up or font being selected.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.3.2.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.2-0ubuntu1
Calc: threaded
Comment 1 Buovjaga 2022-04-20 08:53:18 UTC
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 font selection list for me is quite fast with gtk3 LibreOffice.
Comment 2 Buovjaga 2022-04-20 08:54:02 UTC

*** This bug has been marked as a duplicate of bug 148169 ***