Description: When I do column selection in Calc, the CPU usage is very high and the selection is very slow. Steps to Reproduce: 1. New Calc. Type "a" in cell A1, copy A1 using Ctrl-C, select columns A:D and paste into these columns using Ctrl-V. 2. Click any cell to release column focus, then try to select the columns. --> So far so good, selection is very fast. 3. Continue to select columns A:D, then apply liberation serif fonts to these columns (previously the font is liberation sans). Click any cell to release column focus. 4. Now try to select all the A:D columns, select any cell ranges, or just select any cell with or without content. --> Bug - Selection is slow, CPU usage is high. It does not help at this stage even you apply "clear direct formatting" to this columns now. Actual Results: See explanation in the STR. Expected Results: Selection should always be fast provided that this is a very basic feature. We always do selection and move around in the spreadsheet, even through we do not do copy-paste or other operation related to formatting after most of the selection. Reproducible: Always User Profile Reset: Yes Additional Info: Reproduced in both Fedora 31 and Ubuntu 19.10, in both Chinese and pure English environment. 版本: 6.3.6.0.0+ Build ID: cb957e35f54d6c4e9b8b13cd014a09bdf74327b0 CPU 线程: 4; 操作系统: Linux 5.5; UI 渲染: 默认; VCL: gtk3; 区域语言: zh-CN (zh_CN.UTF-8); UI 语言: zh-CN Calc: threaded
reproducible with: Version: 6.2.8.2 (x64) Build-ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: Version: 6.4.1.2 (x64) Build-ID: 4d224e95b98b138af42a64d84056446d09082932 CPU-Threads: 4; BS: Windows 10.0 Build 18363; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: selecting a column will trigger a "adapt Row high" adjustment
Julien, can you make a perfgraph here?
Created attachment 159950 [details] perf flamegraph Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today. Remark: I noticed no slowdown here. (already fixed on master?)
(In reply to Julien Nabet from comment #3) > Created attachment 159950 [details] > perf flamegraph > > Here's a Flamegraph retrieved on pc Debian x86-64 with master sources > updated today. > Remark: I noticed no slowdown here. (already fixed on master?) I tested it in master yesterday therefore ask you make a flamegraph...
(In reply to Roman Kuznetsov from comment #4) > ... > I tested it in master yesterday therefore ask you make a flamegraph... Sorry for this, I'm gonna give a new try with gen rendering.
Created attachment 159952 [details] Flamegraph (gen rendering) No delay too with gen rendering. I should have read Kevin twice, he used gtk3 rendering.
No repro on Windows Version: 7.0.0.0.alpha1+ (x64) Build ID: 9a7c5d38a7a43c75c0f3d2f0c725196e916d0260 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
Works for me on current master. Close as RESOLVED WORKSFORME.