Bug 123517 - Slow down when zooming in/out in multipage mode with a large table in view using CTRL+Scrollwheel (STR: comment 7)
Summary: Slow down when zooming in/out in multipage mode with a large table in view us...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, needsDevAdvice, perf
Depends on:
Blocks: Multi-Page-View
  Show dependency treegraph
 
Reported: 2019-02-17 10:59 UTC by Telesto
Modified: 2021-09-09 17:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (18.77 KB, application/vnd.oasis.opendocument.text)
2019-02-17 11:00 UTC, Telesto
Details
Screencast (8.85 MB, video/mp4)
2019-02-17 14:19 UTC, Telesto
Details
Perf flamegraph (385.27 KB, image/svg+xml)
2019-04-24 18:58 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2019-02-17 10:59:53 UTC
Description:
Zoom or scrolling in multipage mode view with a large table in view is slow

Steps to Reproduce:
1. Ope the attached file
2. Enable multi-page view zoom/in out
3. Zoom out to say 45% and scroll

Actual Results:
Slow

Expected Results:
Speedy


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.0.0.alpha0+
Build ID: e0745a11597e5d57eb8001a295314e86810a6027
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-02-12_04:16:22
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5
Comment 1 Telesto 2019-02-17 11:00:05 UTC
Created attachment 149343 [details]
Example file
Comment 2 Dieter 2019-02-17 11:51:25 UTC
I can't confirm with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 Jean-Baptiste Faure 2019-02-17 13:15:27 UTC
I do not see performance difference between one page and multi-page view with LO 6.2.2.0+ and master.

Version: 6.2.2.0.0+
Build ID: a65e4b9050bea3e15d6fd0bba0be3022404583e7
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Ubuntu_18.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

Version: 6.3.0.0.alpha0+
Build ID: eef8c4952da288629f9aad23f75d6f894eba83b4
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Ubuntu_18.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

Best regards. JBF
Comment 4 Telesto 2019-02-17 14:19:03 UTC
Created attachment 149351 [details]
Screencast
Comment 5 mulla.tasanim 2019-03-14 03:18:55 UTC
Hello Telesto

Thank you for reporting the bug.I can not reproduce the bug in


Version: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL




Version: 6.3.0.0.alpha0+ (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
Comment 6 Xisco Faulí 2019-04-16 09:30:58 UTC
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 7 Telesto 2019-04-16 13:23:38 UTC
Still the same
Version: 6.3.0.0.alpha0+
Build ID: 3a5d78365dd172881c16c03e67f2d170ffc6d7d4
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-04-09_22:53:59
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

Small change to the STR
1. Ope the attached file
2. Enable multi-page view zoom/in out
3. Zoom in/out using CTRL+Scroll wheel
Comment 8 Buovjaga 2019-04-24 18:58:39 UTC
Created attachment 150984 [details]
Perf flamegraph

Most calls to SwAccessible* stuff. We could show this to a dev to get an opinion, if this is a bug or necessity

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: cfbb223d5666cb803539ac98918ff39b27efc6e7
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 24 April 2019
Comment 9 Dieter 2019-10-27 13:24:49 UTC
Telesto, is this bug still present in master? => NEEDINFO
Comment 10 Telesto 2019-10-27 17:41:11 UTC
Still reproducible for me
Version: 6.4.0.0.alpha0+ (x86)
Build ID: c45d477b0a0038d9c25176cf7cff299e5ddf3a7a
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-09-30_05:06:55
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 11 Xisco Faulí 2019-11-19 11:24:52 UTC
I can't reproduce it in

Version: 6.4.0.0.beta1+
Build ID: 1987c98926a85a483a32ea78e460e563a6ea4705
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 12 Buovjaga 2019-11-23 17:36:13 UTC
(In reply to Xisco Faulí from comment #11)
> I can't reproduce it in
> 
> Version: 6.4.0.0.beta1+
> Build ID: 1987c98926a85a483a32ea78e460e563a6ea4705
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
> Calc: threaded

Maybe you have somehow unworking accessibility in your system? I can still repro with gtk3, but not with kf5, so it is consistent with the perf results pointing to accessibility.

Arch Linux 64-bit
Version: 6.5.0.0.alpha0+
Build ID: b30251ca0d102ced36799ee18d4bbcd9e8530fa0
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 22 November 2019