Bug 136717 - Quite some activity on undo deleting a (large) table
Summary: Quite some activity on undo deleting a (large) table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2020-09-13 12:00 UTC by Telesto
Modified: 2024-08-07 12:46 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 Telesto 2020-09-13 12:00:13 UTC
Description:
Quite some activity on undo deleting a (large) table

Steps to Reproduce:
1. Open attachment 165455 [details]
2. Place cursor inside the table & press CTRL+A twice
3. Insert Table -> Select yellow table style and press OK
4. Press Undo once (and monitor CPU usage)

5. Another route: delete the table
6. Undo (also triggering spell checker dirt flag)

Actual Results:
Undoing causes quite an amount of activity

Expected Results:
What I see passing along in VerySleepy doesn't seem necessary compared to other cases


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: ed4f610f4a3de12016f8308a17b6ad4f86e9d67a
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
Comment 1 Telesto 2020-09-13 12:02:53 UTC
Found in
Version: 6.3.0.0.alpha0+
Build ID: da881f38c088c439f034e340bbbb4ca53e67389f
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

Looks fine to me in 6.1
Comment 2 Dieter 2020-11-30 07:41:50 UTC
I can't see a big difference between

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 10b23330a9655658e6d7ef1d008a3302a15e9629
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

and

Version: 6.1.6.3 (x64)
Build-ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL

always arounfd 35% CPU usage

I can't assess, if this is a bug or not.
Comment 3 Buovjaga 2021-07-29 11:52:19 UTC
Repro CPU peaking at 100%

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 4 QA Administrators 2023-07-30 03:16:08 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2024-08-07 12:46:51 UTC
I don't see any real difference in the "hammer CPU for a while" phenomenon between various versions (6.3, 6.2, 6.1, 5.4, 43all repo oldest/latest). Feel free to bibisect, if you can reliably observe such in some version, but I will remove the keywords as I think they are misleading.