Bug 141004 - Typing on a page that contains an image uses 100 % CPU and lags before the text appears
Summary: Typing on a page that contains an image uses 100 % CPU and lags before the te...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-13 19:38 UTC by eckold
Modified: 2021-03-19 08:05 UTC (History)
2 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 eckold 2021-03-13 19:38:39 UTC
Description:
On a page that contains an image (even a small one, 500 kB, tested with .png and .jpg) typing text causes 100 % CPU usage, Writer becomes unresponsive and it takes some seconds for the text to appear and the CPU usage to drop. Then scrolling and even deleting text works fine. But any text input triggers this behaviour.


Steps to Reproduce:
1. Open LibreOffice Writer
2. Insert image
3. Type text

Actual Results:
The written text doesn't appear, CPU load goes up to 100 %, Writer is unresponsive, after a while the text appears, CPU load goes down and Writer becomes responsive again. 

Expected Results:
The written text should appear without noticeable delay.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (de_DE.UTF-8); UI: en-US
7.0.4-2
Calc: threaded
Comment 1 Telesto 2021-03-13 20:11:16 UTC
Likely fixed with 7.0.5:
https://www.libreoffice.org/download/download/
Comment 2 eckold 2021-03-19 07:33:26 UTC
True, fixed in 7.0.5.