Bug 161359 - rtf no'open
Summary: rtf no'open
Status: NEW
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, regression
Depends on:
Blocks: RTF-Images
  Show dependency treegraph
 
Reported: 2024-05-31 08:29 UTC by Roman
Modified: 2024-08-12 11:49 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
rtf.rtf (503.83 KB, application/rtf)
2024-05-31 08:32 UTC, Roman
Details
Same rtf file. Opened in Wordpad, saved again - will be opened in LO. (242.94 KB, application/rtf)
2024-05-31 09:43 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2024-05-31 08:29:22 UTC
Description:
rtf no'open

Steps to Reproduce:
1.rtf no'open
2.
3.

Actual Results:
rtf no'open

Expected Results:
rtf open


Reproducible: Always


User Profile Reset: Yes

Additional Info:
rtf open
Comment 1 Roman 2024-05-31 08:32:26 UTC
Created attachment 194481 [details]
rtf.rtf

rtf
Comment 2 Robert Großkopf 2024-05-31 09:43:09 UTC
Created attachment 194482 [details]
Same rtf file. Opened in Wordpad, saved again - will be opened in LO.

Might be something wrong with the file. Error while trying to open the 500kB file. Then opened in Wordpad and saved with a new name as *.rtf. File will be about 250kB now. This file could be opened in LO without any problem.
Comment 3 Roman 2024-05-31 11:07:37 UTC
(In reply to Robert Großkopf from comment #2)
> Created attachment 194482 [details]
> Same rtf file. Opened in Wordpad, saved again - will be opened in LO.
> 
> Might be something wrong with the file. Error while trying to open the 500kB
> file. Then opened in Wordpad and saved with a new name as *.rtf. File will
> be about 250kB now. This file could be opened in LO without any problem.

EN: The file opens in Microsoft office, then you can save it and open it in the LOFT.
There are more than 5 such files and they are generated by a different program at different times.
A fix is required, since there is no wordpad or MO on linux.
RU: В Microsoft office файл открывается, дальше можно сохранить и откроется в LO.
Файлов таких более 5 и они генерятся программой иной, в разное время.
Требуется починка, так как ни wordpad ни MO на linux нет.
Comment 4 Julien Nabet 2024-05-31 11:30:52 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

Miklos: thought you might be interested in this one since it concerns rtf.
Comment 5 Robert Großkopf 2024-05-31 12:00:38 UTC
(In reply to Roman from comment #3)
> (In reply to Robert Großkopf from comment #2)
> > Created attachment 194482 [details]
> > Same rtf file. Opened in Wordpad, saved again - will be opened in LO.
> > 
> > Might be something wrong with the file. Error while trying to open the 500kB
> > file. Then opened in Wordpad and saved with a new name as *.rtf. File will
> > be about 250kB now. This file could be opened in LO without any problem.
> 
> EN: The file opens in Microsoft office, then you can save it and open it in
> the LOFT.
> There are more than 5 such files and they are generated by a different
> program at different times.
> A fix is required, since there is no wordpad or MO on linux.

I have created the file in Linux → Wine with wordpad. Also no Windows available here.
Comment 6 Roman 2024-05-31 12:09:36 UTC
(In reply to Robert Großkopf from comment #5)
> (In reply to Roman from comment #3)
> > (In reply to Robert Großkopf from comment #2)
> > > Created attachment 194482 [details]
> > > Same rtf file. Opened in Wordpad, saved again - will be opened in LO.
> > > 
> > > Might be something wrong with the file. Error while trying to open the 500kB
> > > file. Then opened in Wordpad and saved with a new name as *.rtf. File will
> > > be about 250kB now. This file could be opened in LO without any problem.
> > 
> > EN: The file opens in Microsoft office, then you can save it and open it in
> > the LOFT.
> > There are more than 5 such files and they are generated by a different
> > program at different times.
> > A fix is required, since there is no wordpad or MO on linux.
> 
> I have created the file in Linux → Wine with wordpad. Also no Windows
> available here.

EN: This file should be opened in LO, there is no point in unnecessary work in other applications.
RU: Данный файл должен открываться в LO, нет смысла лишней работы в других приложениях.
Comment 7 Gabor Kelemen (allotropia) 2024-08-12 11:49:13 UTC
This has changed in 6.1 with commit:

https://git.libreoffice.org/core/+/060b0fb4b93ee09770ed9398cca46e365dda5be8%5E%21/#F0

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	Thu Mar 08 16:37:46 2018 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	Thu Mar 08 12:57:19 2018 +0100

change RTFDocumentImpl to use Graphic instead of GraphicURL

Adding CC to: Tomaž Vajngerl 

There are three images at the end of the document which before were not shown properly, but a "Read error" was visible in their frame as alternative text.
So that was not exactly good, but at least most of the document was loaded and readable.

Also can confirm that resaving the file in Word 2016 makes the images appear in Writer, but also changes file size from 500 kB to 14.5 mB!