Bug 140941 - Dragging image in text with anchor in header causes lots of additional CPU cycles
Summary: Dragging image in text with anchor in header causes lots of additional CPU cy...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Writer-Header-Footer Writer-Images
  Show dependency treegraph
 
Reported: 2021-03-10 19:45 UTC by Telesto
Modified: 2023-04-23 15:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (82.16 KB, application/vnd.oasis.opendocument.text)
2021-03-10 19:45 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-03-10 19:45:01 UTC
Description:
Dragging image in text with anchor in header causes lots of additional CPU cylces 

Steps to Reproduce:
1. Open the attached file
2. Top image & drag while monitoring CPU usage

Actual Results:
Peaks out 1 core

Expected Results:
Bit similar to anchor in document


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: dc3b64dcbfb0a49c0be65bd8d73ed4e6d3828a21
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 1 Telesto 2021-03-10 19:45:22 UTC
Created attachment 170395 [details]
Example file
Comment 2 Telesto 2021-03-10 19:47:47 UTC
Snappy but same high CPU consumption
Version: 6.0.6.0.0+
Build ID: c30963b8b4bbbe42a24b97aafa161eff9d7ccdd4
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 3 Dieter 2021-03-25 08:27:08 UTC
I confirm it with

Version: 7.1.2.1 (x64) / LibreOffice Community
Build ID: 094b4116e8de6d2085e9b65d26912d6eac4c74a9
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

max. 30% CPU when dragging image anchored in header
max. 15% CPU when dragging image anchored in document
Comment 4 Dieter 2021-03-25 08:28:04 UTC
(In reply to Dieter from comment #3) 
> max. 30% CPU when dragging image anchored in header
> max. 15% CPU when dragging image anchored in document
Just for clarification: These are the actual results on my system
Comment 5 QA Administrators 2023-03-26 03:23:31 UTC Comment hidden (obsolete)
Comment 6 Dieter 2023-04-23 15:38:22 UTC
Really better in

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Result on my system:
4,1% CPU when dragging image anchored in header
3,0% CPU when dragging image anchored in document

I would say WORKSFORME