Bug 134823 - Slow processing of copy/paste after some 'force'
Summary: Slow processing of copy/paste after some 'force'
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2020-07-15 08:51 UTC by Telesto
Modified: 2026-01-31 13:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (1.09 MB, application/vnd.oasis.opendocument.text)
2020-07-15 08:51 UTC, Telesto
Details
Perf flamegraph (160.76 KB, image/svg+xml)
2020-10-16 12:40 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-15 08:51:32 UTC
Description:
Slow processing of copy/paste after some 'force'

Steps to Reproduce:
1. Open the attached file
2. CTRL+A
3. CTRL+C
4. CTRL+V 2x
5. CTRL+A
6. CTRL+C
7. CTRL+V 2x
8. Repeat 2-4 4 times

Actual Results:
Will be come really slow 

Expected Results:
Preferable not this slow


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: d851a02df57ab378ed0cc6d9362516de09c3279c
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-07-15 08:51:50 UTC
Created attachment 163047 [details]
Example file
Comment 2 sora34ce 2020-09-22 18:04:47 UTC
I guess it depends on the CPU and locale, but it seems to be  not really an error on my end.

Version: 7.1.0.0.alpha0+
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 8; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2020-09-26 06:19:15 UTC
I repro the slowness on Linux, but only after the total number of images was in the multiple hundreds. Tested with 3.3.0 and 4.4.7 on Windows and the performance got bad much quicker, so there seems to have been improvement.

Might get a performance trace of this later.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: d98ac4d2c584313c1e51630c6fbab8f8a092012c
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 24 September 2020
Comment 4 Buovjaga 2020-10-16 12:40:18 UTC
Created attachment 166418 [details]
Perf flamegraph

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: 9b34dc20b6946698ae6ce2d5d859885bfb444633
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 October 2020
Comment 5 QA Administrators 2022-10-17 03:30:05 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2024-10-17 03:18:40 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2026-01-31 13:50:41 UTC
Repeated until I was over 300 pages and I did not observe slowness.

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