Bug 127045

Summary: Calc FILEOPEN hangs for seconds without noticeable cpu load when opening .ods file
Product: LibreOffice Reporter: 61.1p57
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: medium    
Version: 6.2.6.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description 61.1p57 2019-08-20 08:53:50 UTC
Description:
any .ods file, even an empty file just created. safe mode doesn't help. Opening Calc directly is fine, opening .xlsx is fine, so I suspect it's something to do with loading a .ods file. 

I'm using 6.3.0-2~bpo10+1 on Debian, but also reproducible with the AppImage build

Steps to Reproduce:
1. Open new spreadsheet
2. Save empty spreadsheet
3. Close program, open the saved spreadsheet

Actual Results:
hangs for seconds without noticeable cpu load

Expected Results:
open almost instantly


Reproducible: Always


User Profile Reset: Yes



Additional Info:
if I use File->Close after step 2 instead of closing the program, the spreadsheet can be re-opened almost instantly

Version: 6.2.6.2
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: kde5; 
Locale: zh-CN (zh_CN.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 61.1p57 2019-08-20 09:08:07 UTC
looked at strace, it was probably slow IO that disappeared after rebooting... weird it didn't affect xlsx for whatever reason.