Bug 122336 - Probably generated XLSX without DocProps folder opens empty (If resaved in MS Office, opens fine in LO)
Summary: Probably generated XLSX without DocProps folder opens empty (If resaved in MS...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Markus Mohrhard
URL:
Whiteboard: target:26.2.0 target:25.8.1
Keywords: filter:xlsx
Depends on:
Blocks: XLSX-External-Generators
  Show dependency treegraph
 
Reported: 2018-12-26 16:32 UTC by Mike Kaganski
Modified: 2025-08-08 18:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
An XLSX that opens blank in Calc (2.50 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-12-26 16:32 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2018-12-26 16:32:04 UTC
Created attachment 147844 [details]
An XLSX that opens blank in Calc

See https://ask.libreoffice.org/en/question/177322/when-i-open-xlsx-i-see-empty-sheet/

The attached file opens with some content in the first 2 rows in Excel (and reportedly in GDocs).

Tested to open blank with Version: 6.2.0.1 (x64)
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

and with Version: 4.1.0.4
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

and with OpenOffice.org 3.3.0 OOO330m20 (Build:9567).
Comment 1 Julien Nabet 2018-12-26 17:50:55 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Here are logs on console if it may help:
warn:legacy.osl:4702:4702:oox/source/helper/graphichelper.cxx:120: GraphicHelper::GraphicHelper - cannot get target frame
warn:sfx.view:4702:4702:sfx2/source/view/viewfrm.cxx:3079: SID_SIDEBAR state requested, but no task pane child window exists for this ID!
warn:sfx.view:4702:4702:sfx2/source/view/viewfrm.cxx:3079: SID_SIDEBAR state requested, but no task pane child window exists for this ID!
warn:sfx.control:4702:4702:sfx2/source/control/dispatch.cxx:1308: Childwindow slot missing: 25917
warn:sfx.control:4702:4702:sfx2/source/control/dispatch.cxx:1308: Childwindow slot missing: 25917
warn:vcl.gdi:4702:4702:vcl/headless/svpgdi.cxx:263: non default depth bitmap, slow convert, upscale the input
warn:legacy.tools:4702:4702:svx/source/form/fmvwimp.cxx:441: FmXFormView::~FmXFormView: Window list not empty!
Comment 2 QA Administrators 2023-07-15 03:13:14 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2025-07-15 03:11:40 UTC Comment hidden (obsolete)
Comment 4 Markus Mohrhard 2025-07-19 08:17:37 UTC
The actual problem is the invalid cell r attribute value. I think we can easily improve the resilience of this import a bit.
Comment 5 Commit Notification 2025-07-19 20:47:59 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2c171226eeac51c6082734dc854e9c045a963f04

tdf#122336: handle OOXML files with invalid cell refs better

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2025-08-07 14:58:18 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/9d80c4ee2a9b368236107375511b1880692ef5f2

tdf#122336: handle OOXML files with invalid cell refs better

It will be available in 25.8.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2025-08-08 18:01:40 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/adb090de281e211404bf6c20495d1faee42941a8

tdf#122336: subsequent_filters_test5: Add test

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.