Bug 118762 - Long formula objects cause slowness (Windows-only)
Summary: Long formula objects cause slowness (Windows-only)
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: DirectWrite-Regression
  Show dependency treegraph
Reported: 2018-07-14 16:56 UTC by Buovjaga
Modified: 2021-01-16 07:19 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2018-07-14 16:56:28 UTC
Observed already in on Win 10. No problem on Linux.

1. Open attachment 82055 [details] on Windows
2. Scroll to second page and further (back and forth etc.)

Slowness is also observed when entering and exiting formula edit mode.

Funny note: had to start bibisecting at a point earlier (1000 commits) than the latest commit in Win 5.4 repo - for some reason the problem was not seen in the latest one.

Result: https://cgit.freedesktop.org/libreoffice/core/commit/?id=a51b7a1c3a7e7cf7b0c733e1dec40288278c1884
tdf#103831, tdf#100986: Force using GDI when needed
Our DirectWrite renderer is incomplete and can’t handle rotated text or text
with horizontal scaling, so route these two through GDI for now.

The commit is, of course, famously blamed for many other regressions (all fixed or wfm now).
Comment 1 Telesto 2018-07-15 16:50:09 UTC
Build ID: e7d3976cb80f7e7401be071f905a764dd6cb4d6e
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-06-29_04:46:32
Locale: nl-NL (nl_NL); Calc: CL

Based on CPU usage. I didn't notice to much lag. Only happening with the new Layout Engine

Repro with
Build ID: 46360c72c4823cefeaa85af537fba22bd568da7e
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: standaard; Layout-Engine: nieuw; 
Locale: nl-NL (nl_NL); Calc: CL

No repro with
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; Layout Engine: new; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 2 QA Administrators 2021-01-10 03:48:19 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2021-01-15 20:10:21 UTC
no repro in

Version: (x64)
Build ID: 94f6765d6ecc3145fa2d266231124003cf953118
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL

Buovjaga, please recheck it yourself, if you have Windows somewhere. Thanks
Comment 4 Buovjaga 2021-01-16 07:19:33 UTC
Thanks for re-testing, it is indeed gone

Version: (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded