Description: Format Spreadsheet theme loads slow with a large sheet Steps to Reproduce: 1. Open the attached file 2. Format -> Spreadsheet theme Actual Results: High CPU usage/ memory activity/ Slow (15 seconds) Expected Results: Data shouldn't affect loading a theme dialog Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.0.alpha0+ (x64) Build ID: 59939d2490726336546c7ad05082d23031074e12 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
Created attachment 161862 [details] Example file
Pressing the cancel button after dialog appears is also slow
Created attachment 166460 [details] Perf flamegraph Repro lag Arch Linux 64-bit Version: 7.1.0.0.alpha0+ Build ID: 9b34dc20b6946698ae6ce2d5d859885bfb444633 CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 16 October 2020
Still laggy 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