Bug 136579 - Pressing CTRL+A in table in multipage view (4 pages row) very slow
Summary: Pressing CTRL+A in table in multipage view (4 pages row) very slow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2020-09-08 17:57 UTC by Telesto
Modified: 2023-12-17 07:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (1.92 MB, application/msword)
2020-09-08 17:58 UTC, Telesto
Details
Perf flamegraph (108.67 KB, image/svg+xml)
2022-05-18 14:39 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-08 17:57:50 UTC
Description:
Pressing CTRL+A in table in multipage view (4 pages row) very slow

Steps to Reproduce:
1. open the attached file
2. Go to multi page view - 4 pages a row (for me 45%)
3. Go to page 31
4. Place the cursor somewhere in the table
5. Press CTRL+A (3 times)

Actual Results:
Freeze

Expected Results:
No freeze


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: e8b8e7be0b2ad693224cd94062a55610eb69df7e
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

basegfx::utils::addPointsAtCutsAndTouches
basegfx::B2DPolyPolygon::transform
basegfx::utils::solvePolygonOperationOr
sdr::overlay::OverlaySelection::getRanges
sdr::overlay::OverlaySelection::createOverlayObjectPrimitive2DSequence
sdr::overlay::OverlayObject::getOverlayObjectPrimitive2DSequence
sdr::overlay::OverlaySelection::getOverlayObjectPrimitive2DSequence
Comment 1 Telesto 2020-09-08 17:58:25 UTC
Created attachment 165284 [details]
Example file
Comment 2 Xisco Faulí 2021-02-15 18:12:42 UTC
Hi Telesto,
Could you please try to reproduce it with a master build from
http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the master build
Comment 3 QA Administrators 2021-08-16 03:49:21 UTC Comment hidden (obsolete)
Comment 4 Telesto 2021-08-21 17:27:56 UTC
Still present
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: f58f35b2c8ca1efbacec642a8f3de5b0c499bc6b
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 5 Buovjaga 2022-05-18 14:39:14 UTC
Already seen with 3.3.0 (on Win 10)

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 32714f966186d301435d3eb9f7f6950bc9a6bb1e
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2022-05-18 14:39:39 UTC
Created attachment 180186 [details]
Perf flamegraph
Comment 7 Matt K 2023-12-17 01:32:36 UTC
I'm not able to repro with the following debug build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a1b0fc647d14dc36e9fe238d5bfc81ebcfa1d5dc
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

I see some sluggishness when scrolling the pages, but no freeze.  Marking NEEDINFO.
Comment 8 Telesto 2023-12-17 01:54:27 UTC
I repro comment 0 (with 2 pages in a row)
Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5ff701226b00963312cb2a78e77966d012b79c82
CPU threads: 8; OS: macOS 13.4.1; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

it also freezes a jumps while scrolling (swipping) with select all highlighting present in multipage view
Comment 9 QA Administrators 2023-12-17 03:12:59 UTC Comment hidden (obsolete)