Bug 152697 - Problems with old .rtf files
Summary: Problems with old .rtf files
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.0 beta1+
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks:
 
Reported: 2022-12-27 19:03 UTC by filhol
Modified: 2022-12-28 20:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A .rtf file dating back to 1990 (86.27 KB, text/rtf)
2022-12-27 19:08 UTC, filhol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description filhol 2022-12-27 19:03:58 UTC
Description:
LibreOffice displays the text but images are missing

Steps to Reproduce:
1.open file (.rtf files dating back to 1989, 1991, 1992) i.e .rtf files coming from a 32bit software (WriteNow 4.0 Mac OS 9)
2.
3.

Actual Results:
LibreOffice 7.3.6.2  <-- version missing in the above menu
The text is okay but all the images are missing as with the current Word 16
Also note that accentuated character are correctly shown but followed by an unwanted space character. OpenOffice has a similar problem (2 characters instead of one) but the 1st character is wrong.
Please note that a similar problem was corrected in August 15, 2021
"[Bug 138218] Can't open .RTF files from an old Word"

Expected Results:
OpenOffice 4.1.10 correctly opens these files with both texts and illustrations. Accentuated characters are shown as a wrong character + a space but this can be easily corrected with search/replace. Thus I could export the .rtf to .doc and convert the latter to .docx with Word 16. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Mac OS X (All)
OS is 64bit: no
<--- Sorry, this is wrong since macOS Big Sur (11.7.2) is 64bits

Version: 7.3.6.2 / LibreOffice Community
Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e
CPU threads: 8; OS: Mac OS X 11.7.2; UI render: default; VCL: osx
Locale: en-US (en_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 filhol 2022-12-27 19:08:55 UTC
Created attachment 184371 [details]
A .rtf file dating back to 1990

The .rtf file contains 11 pages with 34 images.
Comment 2 filhol 2022-12-27 19:13:01 UTC
In 2021 I reported a bug with .rtf files which was corrected.
"[Bug 138218] Can't open .RTF files from an old Word"
Comment 3 m_a_riosv 2022-12-27 21:54:11 UTC
The images are not showed, but they are there. You can see that on the navigator.

But also Word it's not able to show the images, it says that doesn't find appropriate filter to show them.
Comment 4 Regina Henschel 2022-12-28 00:18:16 UTC
The images are in pct-Format, don't know whether Mac or Windows variant.

Look for a OpenOffice.org 2.1 portable. That version has a filter for those images.

Save the file to hmtl in OpenOffice.org 2.1 portable. That converts the images to .gif format.

Open the html-file in a current LO and switch from Web to Normal View in menu View.

Use File > Export... > Text Writer/Web (*.odt)

Now you have a version which is editable in LibreOffice and shows all images.

If you have more such files containing pct-images, you should save the OpenOffice.org 2.1 portable near to those files.

There might exist an external filter, that converts the images in the rtf-file directly to an image format, that is still supported in modern applications.

For me this is a "Wont fix", because other applications have removed the pct-Filter too. I think, that no one is going to implement such filter inside current LibreOffice.
Comment 5 m_a_riosv 2022-12-28 20:20:09 UTC
Thanks @Regina