Description: LO Calc fails to properly import Gnumeric file. Steps to Reproduce: Open attached gnumeric sample Actual Results: Text is not wrapped for cell C1. #NAME? error in cell C4. Wrong values in cells C5:C10. Unexpected values in cells C11: ... Expected Results: File rendered as in gnumeric. Reproducible: Always User Profile Reset: No Additional Info: LO Calc crashed when I tried to changed C6.
Created attachment 172023 [details] Gnumeric sample
Created attachment 172024 [details] Screenshot in gnumeric
Crash report: https://crashreport.libreoffice.org/stats/crash_details/6dabb48b-ebe4-4abb-be00-303ba37a0ca6
Created attachment 172025 [details] Screenshot in LO
(In reply to Valek Filippov from comment #0) > Description: > LO Calc fails to properly import Gnumeric file. > > Steps to Reproduce: > Open attached gnumeric sample > > Actual Results: > Text is not wrapped for cell C1. yes > #NAME? error in cell C4. yes > Wrong values in cells C5:C10. no > Unexpected values in cells C11: ... no >LO Calc crashed when I tried to changed C6. NO So partially confirmed in Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dbd4110cc36011042c98549d997daa79e8065aba CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: CL
Sorry, I messed up with description. Wrong values are in D5:D10 and extra values are in D11:D16.
Seems the file doesn't pass odf validator https://odfvalidator.org/
(In reply to m.a.riosv from comment #7) > Seems the file doesn't pass odf validator https://odfvalidator.org/ Why would gnumeric file pass ODF validator?
You are right it should be like a xlsx file, with gzip compression. It has formulas like: <gnm:Cell Row="5" Col="3" Rows="1" Cols="1">=min(sum(if(isnumber('bug?'!$A$2:$A$27),1,0)*iferror(if('bug?'!$A$2:$A$27<D5,1,0),0)),sum(if(isnumber('bug?'!$A$2:$A$27),1,0)*iferror(if('bug?'!$A$2:$A$27>D5,1,0),0)))</gnm:Cell> It makes reference to a 'bug?' sheet, but that sheet name it's not allowed in LibreOffice, '?' it's a non permitted character.
Dear Valek Filippov, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still repro Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 4b3d3354119b643ec20aaad187d0a6506ea307fb CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: threaded
This document contains a sheet name 'bug?' where the use of '?' is not allowed in Calc (and also in Excel for that matter). It's an invalid sheet name. Because of that, Calc cannot interpret the formula expression which also contains the sheet name 'bug?'. Unfortunately this issue is very hard to address on Calc side. The best we could do is to find some way to notify the user of the presence of invalid sheet name in the original document, and stops loading it. FYI, these are the characters that are not allowed in sheet names: :\/?*[]'
> It's an invalid sheet name. Why do you say that? ods seems to specify that table:name is a string. There is no restriction with respect to characters. So if loffice wants to be compatible with ods it needs to support names like "Bug?" http://docs.oasis-open.org/office/v1.2/cd05/OpenDocument-v1.2-cd05-part1.html#a_19_675_table_name Or am I missing something?
In https://help.libreoffice.org/latest/en-US/text/scalc/guide/rename_table.html?DbPAR=CALC#bm_id3150398 So it is not a bug, it is by design. BTW, I don't think the table name, it's the same as the sheet name. And not everything in OpenDocument it's mandatory. And even the restrictions are not declared in OpenDocument, I think they exist for interoperability matter, specially with Excel. An important reason we like it or not.