Bug 148563 - Cannot embed a zip file using OLE
Summary: Cannot embed a zip file using OLE
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2022-04-13 12:11 UTC by mario
Modified: 2024-09-30 08:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mario 2022-04-13 12:11:56 UTC
1) create a new text file "Hello.txt" on the desktop
   - type some word in and save it
2) zip it into "Hello.zip"
   - you can use the Windows shell command or 7zip
3) open Calc and insert an OLE Object
   - create from file choosing the zip file (ie C:\Users\...\Desktop\Hello.zip)
   - show as icon

Then the following warning pops up:
"
Cannot open file 'Hello.zip' as it is damaged. LibreOffice may attempt to repair the file.

The damage could be the result of manipulation or a problem during the file transfer.

It is advised not to trust the contents of the repaired document.
Macro execution is disabled for this document.

Do you want LibreOffice to repair the file?"

Whatever answer I may click (yes/no) it ends with I/O general error.
Comment 1 raal 2022-10-08 15:22:32 UTC
Reproducible with Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: a0bc0cc81b597aa81189355a8125753d6b873cce
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Tested in Version 4.1.0.0.alpha0+ and  the problem is the same, only LO offers Filter selection dialog.
Comment 2 Sophie Sipasseuth 2024-09-30 08:50:40 UTC
No repro with this version of LO:

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded