Bug 129954 - High CPU utilization and lag when holding delete while header image is showing
Summary: High CPU utilization and lag when holding delete while header image is showing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2020-01-12 11:59 UTC by Telesto
Modified: 2026-01-31 13:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (84.57 KB, application/vnd.oasis.opendocument.text)
2020-01-12 11:59 UTC, Telesto
Details
perf flamegraph (53.19 KB, application/x-bzip)
2020-01-12 12:47 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-01-12 11:59:43 UTC
Description:
High CPU utilization and lag when holding delete while header image is showing  

Steps to Reproduce:
1. Open attached file
2. Set the cursor at the beginning of the yellow marking
3. Hold delete (lag) with 6.5. No noticeable lag but high cpu usage with 4.4.7.2 and older

Actual Results:
High CPU usage

Expected Results:
Normal CPU usage


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.5.0.0.alpha0+ (x64)
Build ID: ce685f64f38551e7984155783c9c7660d986abf6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-01-12 11:59:58 UTC
Created attachment 157083 [details]
Example file
Comment 2 Telesto 2020-01-12 12:00:53 UTC
A flamegraph would be nice
Comment 3 Julien Nabet 2020-01-12 12:47:49 UTC
Created attachment 157084 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today.
Comment 4 Xisco Faulí 2020-02-17 15:17:30 UTC
I can reproduce a short lag in

Version: 7.0.0.0.alpha0+
Build ID: 28d844a589e52abfe62dc66b888e78665221ba28
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

it hangs in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)
Comment 5 QA Administrators 2022-09-07 03:58:11 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2024-09-07 03:18:22 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2026-01-31 13:30:56 UTC
Still 100% CPU. If I delete the image, 35%.

Arch Linux 64-bit
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 19f943f13485918d35597be1dcae48c0fbecd0e3
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 31 January 2026