Bug 123180 - Sluggish responsiveness when scrolling document containing JPG images in multi-page view
Summary: Sluggish responsiveness when scrolling document containing JPG images in mult...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, haveBacktrace, perf, regression
: 123188 (view as bug list)
Depends on:
Blocks: Scrolling-PageUpDown Regressions-GraphicPrimitive2D
  Show dependency treegraph
 
Reported: 2019-02-05 12:11 UTC by Telesto
Modified: 2021-09-10 19:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file (151.13 KB, application/vnd.oasis.opendocument.text)
2019-02-05 12:11 UTC, Telesto
Details
Example file 2 (3.65 MB, application/vnd.oasis.opendocument.text)
2019-02-05 13:47 UTC, Telesto
Details
perf flamegraph (53.44 KB, application/x-bzip)
2019-10-28 16:56 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2019-02-05 12:11:37 UTC
Description:
Sluggish responsiveness when scrolling document containing JPG images in multi-page view

Likely a duplicate: see meta bug 116109

Steps to Reproduce:
1. Open the attached file
2. Multipage view: 4 pages in a row
3. Scroll

Actual Results:
Sluggish

Expected Results:
Smooth


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.3.0.0.alpha0+
Build ID: 6740443311268b7d918bf4f43134d64fb78a0109
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-15_23:37:04
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and in 
4.2

but not in 
4.1
Comment 1 Telesto 2019-02-05 12:11:50 UTC
Created attachment 148902 [details]
Sample file
Comment 2 Telesto 2019-02-05 13:47:32 UTC
Created attachment 148919 [details]
Example file 2
Comment 3 Durgapriyanka 2019-02-05 17:45:45 UTC
Thank you for reporting the bug. I confirm the bug in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Telesto 2019-02-05 19:30:52 UTC
Adding bibisect request. I bet on:  Regressions introduced by unified Graphic processing to use GraphicPrimitive2D
Comment 5 Roman Kuznetsov 2019-02-07 06:59:49 UTC
*** Bug 123188 has been marked as a duplicate of this bug. ***
Comment 6 Buovjaga 2019-02-11 17:55:03 UTC
(In reply to Telesto from comment #4)
> Adding bibisect request. I bet on:  Regressions introduced by unified
> Graphic processing to use GraphicPrimitive2D

Confirmed with 42max

Let's add commit hash for good measure: 2e5167528f7566dd9b000e50fc1610b7bf99132a
Comment 7 Telesto 2019-03-25 10:37:04 UTC
Still repro
Version: 6.3.0.0.alpha0+
Build ID: 20ea90a557b5bc744fd234e3a20ab1db484cf88b
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-03-22_03:21:58
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded
Comment 8 Julien Nabet 2019-10-28 16:56:17 UTC
Created attachment 155372 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today (gen rendering)
Comment 9 Buovjaga 2021-09-10 18:52:32 UTC
I reproduced the sluggish rendering with latest of 6.3 repo, but not with fresh master (both with gen on Linux).

As the slowness is not super pronounced to begin with, I would like others to re-test before closing as WFM.
Comment 10 Telesto 2021-09-10 19:48:10 UTC
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 96d1240adf946c443fb2c369a1c84e31e259c7a8
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

Likely more a Windows issue.. like fixed directly or indirectly by Skia :-)