Bug 44316 - FILESAVE RTF files are saved corrupted
Summary: FILESAVE RTF files are saved corrupted
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 Beta2
Hardware: Other All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf, regression
Depends on:
Blocks:
 
Reported: 2011-12-30 04:33 UTC by Urmas
Modified: 2015-12-15 11:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Result (11.03 KB, application/msword)
2011-12-30 04:33 UTC, Urmas
Details
This was my document (57.06 KB, application/msword)
2012-01-11 04:24 UTC, Urmas
Details
That's how LO rapes it (11.74 KB, application/vnd.oasis.opendocument.text)
2012-01-11 04:28 UTC, Urmas
Details
Source and saved documents (4.54 KB, application/x-zip-compressed)
2012-02-13 12:35 UTC, Urmas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urmas 2011-12-30 04:33:54 UTC
Created attachment 54974 [details]
Result

This is example of RTF document saved in LO.

- The garbage in style list
- Quotes replaced with Japan(?) symbols
- Styles missing
- Crap like "0. " appended to headings
- Headings gone
Comment 1 Urmas 2012-01-01 00:58:35 UTC
The quotes become ォ and サ correspondingly.
Comment 2 s-joyemusequna 2012-01-08 10:10:00 UTC
Problem does not occur on Windows Vista 64.
Comment 3 Jean-Baptiste Faure 2012-01-11 00:33:31 UTC
Please, could you attach the original ODT file and the corresponding RTF exported file?
Additional information needed: your OS.

Best regards. JBF
Comment 4 Urmas 2012-01-11 04:24:33 UTC
Created attachment 55420 [details]
This was my document

It is impossible, as the source document was IRREVERSIBLY CORRUPTED after saving it in LO. This is a part of corrupted source document, with text removed.

My OS is Windows XP 32-bit.
Comment 5 Urmas 2012-01-11 04:28:07 UTC
Created attachment 55421 [details]
That's how LO rapes it
Comment 6 Jean-Baptiste Faure 2012-01-12 12:17:58 UTC
I agree that loosing data is very annoying but we do not have yet a scenario to reproduce this problem and it is impossible for the developers to fix a problem they can't themselves.

Please provide any information you can about what triggers this bad behavior.

Best regards. JBF
Comment 7 Urmas 2012-01-12 12:59:09 UTC
For a start, you may open attached RTF document and save it again. In that case more corrupted styles will appear.
Comment 8 Urmas 2012-01-28 22:35:00 UTC
Still present in RC.
Comment 9 Urmas 2012-02-13 12:35:28 UTC
Created attachment 56989 [details]
Source and saved documents

Another example: after assigning heading style to original and saving as RTF, document degrades.
Comment 10 Jean-Baptiste Faure 2012-03-20 14:17:35 UTC
Using LO 3.5.1, I do not reproduce formating loss when saving the source file provided by https://bugs.freedesktop.org/attachment.cgi?id=56989 as RTF.

Please could you try again ?

Best regards. JBF
Comment 11 Urmas 2012-03-23 23:23:15 UTC
Everything is the same, except now the quotes ARE GONE ENTIRELY.
Comment 12 Ronildo Matsuura 2012-08-07 13:14:32 UTC
I am having the same problem! I'm tested v3.5.4, v.3.5.5 and v3.6.0.4rc
Comment 13 Michael Meeks 2012-08-13 09:46:26 UTC
Miklos - the quote mangling is rather clear on the third page; any chance you can look at it.
Urmas - I'm sorry your document was mangled, but please don't use sexualised language, and 'rape' metaphores they're grossly inappropriate.
Comment 14 Miklos Vajna 2012-08-13 13:11:54 UTC
Urmas,

Please provide the original document where the quotes are OK. The source.rtf you provided already has the quotes mangled, so I'm unable to fix your problem without that info.

Thanks,

Miklos
Comment 15 Michael Meeks 2012-08-13 13:41:42 UTC
> The source.rtf you provided already has the quotes mangled, so I'm
> unable to fix your problem without that info.

Look again ;-) I load source.rtf, save it again and re-load (using master) and loose some magic symbols - no idea if they are quotes they look like this:

ォXxx!サ xxxx xxx.

Since they are around what looks like speech, I assume these are the quote marks being mentioned - they're not clearly flagged; so checkout the last sentence in the document eg.
Comment 16 Michael Meeks 2012-08-13 13:46:17 UTC
Ronildo Matsuura: do you have a sample document with quote characters that get lost ? ie. the original before saving it ?
Comment 17 Urmas 2012-08-13 14:04:38 UTC
I cannot reproduce quotes, numeration and garbage styles names with 3.6.0.
But ALL character styles are lost when saving/loading RTF document.
Comment 18 Michael Meeks 2012-08-13 18:53:24 UTC
> I cannot reproduce quotes, numeration and garbage styles names with 3.6.0.

Thanks for re-testing; it's encouraging that a chunk of this bug is nailed already - nice work Miklos.

> But ALL character styles are lost when saving/loading RTF document.

What would be great would be to file a new bug, that is shorter & easier to read - with a simple sample document with just a character styles demonstration in it.

Then we can close this one out & focus more easily. Any chance of that ?

Thanks.
Comment 19 Florian Reisinger 2012-08-14 14:03:13 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 20 Florian Reisinger 2012-08-14 14:04:09 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 21 Florian Reisinger 2012-08-14 14:08:41 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 22 Florian Reisinger 2012-08-14 14:10:43 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 23 Robinson Tryon (qubit) 2015-12-15 11:00:12 UTC
Migrating Whiteboard tags to Keywords: (rtf_filter -> filter:rtf)
[NinjaEdit]