Calc hangs when saving a new speadsheet document that has cells pasted from Excel and the first row is empty. Steps to reproduce: 1. Open Excel and create a new spreadsheet document 2. Insert some data to cells "1", "2", "3", "4" 3. Copy the range 4. Open Calc and create a new spreadsheet document 5. paste the cells to anywhere but the first row 6. Try to save the Calc document --> LO hangs/crashes This seems to have started 26.2.0.0.beta1, but there it crashes even if cells are pasted to first row. On LO LO 26.2.0.1 the paste operation even refuses to complete ocasionally. LO 24.8.4 is completely free from this issue. On LO 26.2.0.3 saving process does not hang or crash if the first row has some data typed in or the cell are pasted to the first row. Watch the screencast I will attach to this report. Version: 26.2.0.3 (X86_64) Build ID: 620(Build:3) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: fi-FI (fi_FI); UI: en-GB Calc: CL threaded
Created attachment 205321 [details] Video showing exact steps for getting Calc hang after copy paste from Excel Video showing exact steps for getting Calc 26.2.0.3 hang after copy paste from Excel
Reproducible. The hang is in ScXMLExport::ExportFormatRanges, which gets empty pRowFormatRanges, and doesn't advance the loop.
(In reply to Mike Kaganski from comment #3) > Reproducible. YESSS!! We are finally on the same page, thank you Mike!