Bug 134328 - Zooming in/out with scrollwheel using a certain document slow
Summary: Zooming in/out with scrollwheel using a certain document slow
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: target:7.5.0
Keywords: haveBacktrace, perf
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2020-06-26 21:07 UTC by Telesto
Modified: 2022-12-29 05:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (304.03 KB, application/vnd.oasis.opendocument.text)
2020-06-26 21:07 UTC, Telesto
Details
Perf flamegraph (87.99 KB, image/svg+xml)
2020-11-09 06:52 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-26 21:07:15 UTC
Description:
Zooming in/out with scrollwheel using a certain document slow

Steps to Reproduce:
1. open the attached file
2. Zoom in/out with ctrl+scrollwheel

Actual Results:
Slow

Expected Results:
Smooth


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 006c65bbd472cb1d7d44e095714e28190b76be0d
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render: standaard; VCL: win
Locale: de-DE (nl_NL); GI: nl-NL
Calc: CL

and in
3.5.7.2
Comment 1 Telesto 2020-06-26 21:07:32 UTC
Created attachment 162436 [details]
Example file
Comment 2 Telesto 2020-06-26 21:08:21 UTC
File based on: bug 129101
Comment 3 Buovjaga 2020-11-09 06:52:12 UTC
Created attachment 167109 [details]
Perf flamegraph

Reproduced

Arch Linux 64-bit
Version: 7.1.0.0.alpha1+
Build ID: c9b320c32aceab7e22d381b688e7b44030e01c2d
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 8 November 2020
Comment 4 Commit Notification 2022-06-28 12:38:18 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e8aea2a4f660cff901c56bcbd2a88377482f4609

tdf#134328 use more make_shared

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2022-06-28 12:39:26 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1761cec439b0ee61544ad5d34d575c659c85116b

tdf#134328 avoid some dynamic_cast

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2022-06-28 12:40:34 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/75bff1d686307a4c17e1ffa949201f28028f0948

tdf#134328 improve SdrObjList::RecalcObjOrdNums

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2022-06-28 13:25:32 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7cc50e99381fe7a0d35d682c35ae44fbd003d3e7

tdf#134328 only copy the RegionBand if it is actually shared

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 BogdanB 2022-12-29 05:54:10 UTC
Telesto, could you retest this bug for improvments?