Bug 138218 - Can't open .RTF files from an old Word
Summary: Can't open .RTF files from an old Word
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2020-11-14 19:14 UTC by filhol
Modified: 2021-08-15 06:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
RTF file created with Word (2009) and containing images (290.10 KB, text/rtf)
2020-11-14 19:14 UTC, filhol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description filhol 2020-11-14 19:14:10 UTC
Created attachment 167301 [details]
RTF file created with Word (2009) and containing images

I have a series of .rtf files produced by Word and dating back to 2006-2009.
The error message with LibreOffice is: "General Error/ General input/output error"
Word 16 may or may not open those files and may or may not display the images (unscaled) or displayed images are damaged.
I tried OpenOffice. It opens the files and the content display is Okay? however the output to other formats may give strange results (strange colors in figures, some elements lost, bounding rectangles are shown, etc.)
The attached file dates back to 2009 and LibreOffice rejects it.
Comment 1 Mark Hung 2020-11-15 08:45:55 UTC
reproducible "General Error/ General input/output error" with 

版本:6.4.6.2 (x64)
組建 ID:0ce51a4fd21bff07a5c061082cc82c5ed232f115
CPU 執行緒:16; OS:Windows 10.0 Build 18363; UI 算繪:GL; VCL: win; 
語言地區:zh-TW (zh_TW); 介面語言:zh-TW
Calc: CL
Comment 2 mrei 2020-12-05 08:28:41 UTC
Also getting the same error with attached file.

General input/output error.

Version: 7.1.0.0.beta1+
Build ID: 73d98236ea83296018e6da30d0d7ec0219313776
CPU threads: 4; OS: Mac OS X 10.13.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Aron Budea 2021-08-15 06:25:05 UTC
This opens fine in LO 7.2 beta1.
It also used to be a regression, starting with LO 6.1.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=fa356008b08a8a5b5556aa8f89ca8f7989c53516
Author:     Miklos Vajna <vmiklos@collabora.co.uk>
AuthorDate: Mon Jun 25 22:13:24 2018 +0200
Commit:     Miklos Vajna <vmiklos@collabora.co.uk>
CommitDate: Tue Jun 26 09:04:58 2018 +0200

    tdf#118133 DOCX import: disable lazy-loading of tiff images

Fixing commit is actually a revert:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c6bf16909db054ec5467ebdc0ea0c9dc07307048
Author:     Xisco Fauli <xiscofauli@libreoffice.org>
AuthorDate: Mon Mar 8 11:03:11 2021 +0100
Commit:     Xisco Fauli <xiscofauli@libreoffice.org>
CommitDate: Thu Mar 11 15:01:40 2021 +0100

    Revert "tdf#118133 DOCX import: disable lazy-loading of tiff images"