Bug 122952 - Writer typing lag when editing text while header image is showing on screen
Summary: Writer typing lag when editing text while header image is showing on screen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2019-01-25 11:01 UTC by E Moen
Modified: 2019-02-02 21:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (84.53 KB, application/vnd.oasis.opendocument.text)
2019-01-30 17:28 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description E Moen 2019-01-25 11:01:49 UTC
Description:
When editing the text in a Writer document there is a very noticable and annoying lag when typing if there is an image in the document header showing. When the image is not in sight (it is in the document header but not on the screen) the lag is gone. Could it be that Writer redraws the image(s) with every keystroke?

Steps to Reproduce:
1.Start a document, open the header and insert an image (e.g. a .png)
2.Start typing text in the body of the document with the header image in sight
3.Delete some text
4.Insert so mucht text that it becomes possible to scrol the header image out of the screen
5. Edit the body text with the header image not visible on the screen

Actual Results:
When the header image is visible, editing body text is lagging (a lot). When the header image is nog visible the is nog (noticable) lag.

Expected Results:
The should be no lag in both situations


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Versie: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.2
CPU-threads: 8; Besturingssysteem: Linux 4.15; UI-render: standaard; VCL: gtk3; 
Locale: nl-NL (nl_NL.UTF-8); Calc: group
Comment 1 E Moen 2019-01-30 10:27:14 UTC
An addition comment: in te steps I wrote '3. Delete some text'. That should have been more clear. What I meant was: position the cursor after some text and hold the Backspace button. That will show the lag.
Comment 2 Telesto 2019-01-30 17:28:26 UTC
Created attachment 148767 [details]
Example file

Repro
Version: 6.3.0.0.alpha0+
Build ID: 6740443311268b7d918bf4f43134d64fb78a0109
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-15_23:37:04
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

Scenario 1: delete the text with the yellow marking using backspace
-> Not in Version: 5.4.1.0.0+

Scenario 2:  Hold and/or press enter multiple times after yellow marking (stutters & CPU is peaking)
-> The adding of new paragraph's is smoother in 4.4.7.2 compared to LibO6.3 but CPU hogging is the same