Bug 155287 - Deleting a column causes a full calculation of the row height
Summary: Deleting a column causes a full calculation of the row height
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha1+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2023-05-13 18:36 UTC by Telesto
Modified: 2023-05-17 17:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample (132.93 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-05-13 18:36 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-05-13 18:36:09 UTC
Description:
Deleting a column causes a full calculation of the row height

Steps to Reproduce:
1. Open the attached file
2. Delete the - say - the (empty!) column N
3. Wait until the adapt row height calculation is finished

Actual Results:
Slow

Expected Results:
Ideally some speed-up (but well like complicated, not the first "adapt row height" is slow bug) 


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 99a88c9e55872214ce01d89447d18708e47e956b
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 threaded
Comment 1 Telesto 2023-05-13 18:36:18 UTC
Created attachment 187252 [details]
Sample
Comment 2 Buovjaga 2023-05-17 13:12:34 UTC
I got a stopwatch time of 7 seconds.

These sorts of reports are a bit questionable, but let's set to NEW anyway.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8cd29dac4046e38bcf14784accab94ad1b4ac4d7
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 3 Telesto 2023-05-17 17:57:51 UTC
(In reply to Buovjaga from comment #2)
> I got a stopwatch time of 7 seconds.
> 
> These sorts of reports are a bit questionable, but let's set to NEW anyway.
> 
> Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: 8cd29dac4046e38bcf14784accab94ad1b4ac4d7
> CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> Calc: threaded

My less powerful machine 12 seconds. 

The 8 seconds is more a simple sample.. you can increase the waiting time by adding more rows with multi-line text.