Bug 166864 - Duplicating a sheet in LibreOffice Calc increases the number of rows
Summary: Duplicating a sheet in LibreOffice Calc increases the number of rows
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 10:40 UTC by intuos5
Modified: 2026-01-09 03:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the row range for duplicated sheets. (18.56 KB, image/png)
2025-06-05 10:41 UTC, intuos5
Details
Screenshot showing the number of rows. (18.56 KB, image/png)
2025-06-05 10:41 UTC, intuos5
Details
Screenshot showing the row range for duplicated sheets. (18.05 KB, image/png)
2025-06-05 10:43 UTC, intuos5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description intuos5 2025-06-05 10:40:00 UTC
Description:
When I right click a sheet and pick 'Duplicate Sheet', a dummyrow is added at A1:C1048576. This in turn affects third party software (like NPOI Reader used in Pancake Spreadsheet to link .xlsx files into McNeel's Grasshopper), because the number of rows exceeds what the software is able to handle.

Steps to Reproduce:
1.Add some info to cells in the default sheet
2.Duplicate the sheet
3.Inspect the file and compare the original sheet with the duplicated sheet using an XML based editor? See link in other information.  

Actual Results:
Inspecting the file shows there to be a dummyrow at A1:C1048576. But this row is not present when navigating the file using the navigator by searching for row 1048576.

Expected Results:
I expected to be able to read the .xlsx file data using Pancake Spreadsheets, but it did not recognise the sheets that were duplicated. The data in the file should remain readable, in my case, a file with just two columns with less than 10 rows and 4 sheets became unreadable, whereas the sheets are actually really really simple. 


Reproducible: Always


User Profile Reset: No

Additional Info:
Also see the bugreport I made for Pancake Spreadsheet: https://discourse.mcneel.com/t/pancakespreadsheet-read-write-xls-x-files-without-excel/145611/34
Comment 1 intuos5 2025-06-05 10:41:24 UTC
Created attachment 201106 [details]
Screenshot showing the row range for duplicated sheets.
Comment 2 intuos5 2025-06-05 10:41:57 UTC
Created attachment 201107 [details]
Screenshot showing the number of rows.
Comment 3 intuos5 2025-06-05 10:43:30 UTC
Created attachment 201108 [details]
Screenshot showing the row range for duplicated sheets.

The previous attachment with the name "Screenshot showing the row range for duplicated sheets." had the wrong file attached.
Comment 4 Mateusz Wlazłowski 2025-06-05 17:41:16 UTC
No reproduce

Maybe some missing steps?


Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 5 intuos5 2025-06-05 18:24:33 UTC
I forgot to mention that this happens on Windows 10.
Comment 6 fpy 2025-06-11 09:05:40 UTC
(In reply to intuos5 from comment #5)
> I forgot to mention that this happens on Windows 10.

please, attach the faulty spreadsheet.
does it open with Excel or Google docs ? (would be a bug for pancakespreadsheet;)
Comment 7 QA Administrators 2025-12-09 03:12:30 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2026-01-09 03:12:27 UTC
Dear intuos5,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp