Bug 158915 - Very slow file-opening if embedded font being enabled
Summary: Very slow file-opening if embedded font being enabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, perf, regression
Depends on:
Blocks: File-Opening
  Show dependency treegraph
 
Reported: 2023-12-28 22:38 UTC by Telesto
Modified: 2024-01-23 00:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (3.39 MB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-23 00:00 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-12-28 22:38:16 UTC
Description:
Very slow file-opening if embedded font being enabled

Steps to Reproduce:
1. Open https://www.uni-bielefeld.de/verwaltung/dezernat-p-o/dokumente/hk-lehrbeauftragte/Arbeitszeitkonto_MiLoG.ods
2. Wait a minute before file opens

Actual Results:
60 seconds opening time

Expected Results:
5 seconds


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0cd74b5be297f638d455b9b267462192f2e6620c
CPU threads: 8; OS: macOS 13.6.3; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

Unsure if this is mac specific
Comment 1 m_a_riosv 2023-12-29 02:08:03 UTC
Maybe an only Mac issue, open instantly on:
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a22ac6caece8da5add6800bdfba9865bdcfde064
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Have you tested in Menu/Help/Restart in Safe Mode.
Comment 2 Telesto 2023-12-29 07:28:59 UTC
(In reply to m.a.riosv from comment #1)
yes
Comment 3 V Stuart Foote 2023-12-29 13:43:56 UTC
Opens in 5sec on Win10. But does not appear to actually use the embedded font(s). Fallback font(s) look nothing like the thumbnail in the archive.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2eb428a8890dda29fbdc8b639fc1377080fab59f
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-01-12 17:01:08 UTC
Opens fast on Linux:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3cb1ed4339fc9aec414c0f112a69705a7a4d9cc6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

On macOS, takes about 25 seconds before I can edit the document:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ef6ff2df2e1286974da2f344aa3b8e3ae9093a79
CPU threads: 2; OS: macOS 13.2.1; UI render: Skia/Raster; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US

also reproduced in 7.5.9 and 7.6.4.

Not reproduced in:

Version: 7.3.3.2 / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 2; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
(actually macOS 13.2.1 as well)

-> regression
Comment 5 Telesto 2024-01-23 00:00:09 UTC
Created attachment 192108 [details]
Example file