Bug 168214 - A tiny document may take 3-4 minutes to save
Summary: A tiny document may take 3-4 minutes to save
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.1.1 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-31 18:10 UTC by Stephan Cassel
Modified: 2025-09-01 14:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test document that shows the problem (807.80 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-09-01 08:15 UTC, Stephan Cassel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Cassel 2025-08-31 18:10:30 UTC
Description:
Hi,
A simple spreadsheet used to take 1-2 seconds to save. After I created a few new spreadsheets in the same document that reference a "master spreadsheet" i.e. create abstractions in several smaller spreadsheets, saving takes 3-4 minutes or longer.
The fact that it takes a long time is not a factor for me but I'm afraid that one day it will stop completely.

Steps to Reproduce:
I would like to send the document that is the problem but I have no idea how to post it to you

Actual Results:
Saving takes very long time (3-4 minutes or longer)

Expected Results:
Saving should take less time (1-2 sec)


Reproducible: Always


User Profile Reset: No

Additional Info:
n/a
Comment 1 m_a_riosv 2025-08-31 21:58:44 UTC
Use 'Add an attachment' just above your report description.

Please paste here the information on Menu/Help/About LibreOffice (There is an icon to copy)
Comment 2 Stephan Cassel 2025-09-01 08:15:27 UTC
Created attachment 202631 [details]
Test document that shows the problem
Comment 3 Stephan Cassel 2025-09-01 08:15:54 UTC
It is not possible to upload the document due size.
It takes about 2 minutes to open.

The spreadsheet "Master" is tiny: 79 rows 15 columns


Three spreadsheets in the document 79 rows 1-3 columns 
These spreadsheets does not contains any but reference data 
via this type formula: {=Master.B2:B1000}

The size is about 12 MB

When I remove the extra "read only" spreadsheets the size is 36 KB



I have just made a stripped version. calctest.ods that shows the problem:

1. Master called S1 with 4 rows and 3 columns
Col1	Col2	Col3
1	1	1
2	2	2
3	3	3

The document size is 10 KB

2. Added a new spreadsheet called S2 with 4 rows and 1 columns
Col1	
1	
2	
3	

These are references from S1 {=S1.A1:A100}

The document size is now 827 KB
Comment 4 m_a_riosv 2025-09-01 10:17:15 UTC
The cause is the array formula covering the entire column, not just the first 100.

Setting up the array for 100 rows, there is no issue.
Comment 5 Stephan Cassel 2025-09-01 14:30:45 UTC
Silly me. Sorry about the misstake