Bug 143307 - Fonts replace table: High cpu usage while opening and rolling a document
Summary: Fonts replace table: High cpu usage while opening and rolling a document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 08:06 UTC by Hillwood Yang
Modified: 2022-09-07 14:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
a special document (9.08 KB, application/wps-office.docx)
2021-07-12 08:06 UTC, Hillwood Yang
Details
The screen recoding (1.50 MB, video/webm)
2021-07-12 08:11 UTC, Hillwood Yang
Details
onlyoffice works better on the same document (2.25 MB, video/webm)
2021-07-12 08:29 UTC, Hillwood Yang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hillwood Yang 2021-07-12 08:06:06 UTC
Created attachment 173496 [details]
a special document

This document is only one page, it is not a big and complicated document. I don't find any special content in the document, except tables. The CPU usage is very hign while opening and rolling page this documents.
Comment 1 Hillwood Yang 2021-07-12 08:11:53 UTC
Created attachment 173497 [details]
The screen recoding
Comment 2 Hillwood Yang 2021-07-12 08:29:14 UTC
Created attachment 173500 [details]
onlyoffice works better on the same document
Comment 3 m_a_riosv 2021-07-12 14:55:54 UTC
Sorry, no delay here:
Version: 7.1.5.1 (x64) / LibreOffice Community
Build ID: 2ca94649fd6dbdcab938c55c28b6a950a9634a34
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL

Please test with a clean profile, Menu/Help/Restart in Safe Mode
Comment 4 Telesto 2021-07-12 20:31:16 UTC
(In reply to m.a.riosv from comment #3)
> Sorry, no delay here:
> Version: 7.1.5.1 (x64) / LibreOffice Community
> Build ID: 2ca94649fd6dbdcab938c55c28b6a950a9634a34
> CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Raster; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US Calc: CL
> 
> Please test with a clean profile, Menu/Help/Restart in Safe Mode

Working fine for me
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0fc020fb73c86a20608e8dff12af607e60327379
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

However major but: font substitution being active..

@m.a.riosv
Do you have the specific font installed?
Comment 5 Hillwood Yang 2021-07-19 02:24:12 UTC
Sorry, this problem is not related to the document, it should be caused by the fonts replace table. After disabling the fonts replace table feature, this bug no longer occurs.

My sysinfo
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded
Comment 6 Buovjaga 2021-07-19 08:23:16 UTC
Is your font replacement table very complicated? Is there a realistic way for us to test? If not, then you could perhaps test with older versions to see, if the high CPU usage appeared recently: https://libreoffice.soluzioniopen.com/old-versions/
Comment 7 Dieter 2022-08-20 12:46:41 UTC
Hello Hillwood, a new major major release of LibreOffice is available since this bug was reported. Could you please try to  reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 Hillwood Yang 2022-09-07 13:01:29 UTC
It no longer reproduces on new release.