Bug 157031 - Character dialog opens with small but annoying lag (3 seconds) every time when opening (macOS)
Summary: Character dialog opens with small but annoying lag (3 seconds) every time wh...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, perf, regression
: 160281 (view as bug list)
Depends on:
Blocks: Character-Dialog
  Show dependency treegraph
 
Reported: 2023-08-31 07:09 UTC by Telesto
Modified: 2024-03-22 05:43 UTC (History)
5 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 Telesto 2023-08-31 07:09:17 UTC
Description:
Character dialog opens with small  but annoying lag (3 seconds) every time when opening (macOS)

Steps to Reproduce:
1. Open Writer
2. Menu Format -> Character

Actual Results:
3 seconds lag with beachball

Expected Results:
No beachball, no lag on each opening in the same session


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e60ef8651cfb30335471d1622e58c13eebc7d58b
CPU threads: 8; OS: Mac OS X 13.4.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 steve 2023-08-31 10:06:52 UTC
Confirmed with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b5aaf194866c5e416167cb54d37f9f04dabc5375
CPU threads: 8; OS: Mac OS X 13.5.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 2 Telesto 2023-09-01 07:18:30 UTC
Fine with
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: da3dd48eaf9086f8ab28d6a6655f9a638e51433a
CPU threads: 8; OS: Mac OS X 13.4.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

slower, but faster compared to today with
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8635c9aa8c6f1078a9e220076d5a08daf30077e8
CPU threads: 8; OS: Mac OS X 13.4.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 3 Stéphane Guillou (stragu) 2023-11-23 10:44:50 UTC
Reproduced on macOS:

7.4.6: ~1 second
7.5.4: above 2 seconds
7.6.2: above 2 seconds
24.2 at c60a9db1f2a8e2a088c6b89bcdff4901b28f2864: above 2 seconds

Definitely noticeable now. I'd say the change happened somewhere in 7.5.

Format > Paragraph stays below 2 seconds in all versions tested, no change.

on Linux, not reproduced.

Wondering if it could have a link to the fix for bug 152460, given that I see the same kind of delay for another dialog with font preview, e.g. Styles > Edit Style...

Khaled, what do you think?
Comment 4 ⁨خالد حسني⁩ 2023-11-26 18:49:45 UTC
No idea, if it is a regression then bibisecting is your best option.
Comment 5 Stéphane Guillou (stragu) 2024-03-19 23:53:31 UTC
*** Bug 160281 has been marked as a duplicate of this bug. ***
Comment 6 Stéphane Guillou (stragu) 2024-03-19 23:55:15 UTC
Duplicate bug 160281 suggests it's correlated to the number of fonts installed, so if someone bibisects it, installing some extra fonts might help making the delay more obvious.
Comment 7 sneakers-the-rat 2024-03-22 05:43:51 UTC
haha yes i knew that having a disgusting quantity of fonts installed would be useful one day. it's definitely `fontd` that's spinning, as the window becomes unresponsive, fontd spikes, and then the window becomes responsive again as soon as fontd relaxes. 

i shall do a bisect another night, can't look at computer anymore tonight <3