Bug 47857 - Table distroyed when saving as MS Word 6.0
Summary: Table distroyed when saving as MS Word 6.0
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-25 12:29 UTC by Nikos Platis
Modified: 2013-02-06 17:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (6.50 KB, application/msword)
2012-03-25 14:06 UTC, Urmas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Platis 2012-03-25 12:29:48 UTC
Open Writer, create a new document with a simple table in it, and add some text to the table cells. Then save as MS Word 6.0 (which, btw, it the default Word format when saving with a .doc extension).

Then open the produced .doc file in Writer again (or in MS Word, indeed): the table is lost and the text of all the cells appears as a single string.

Let me also note that if you open the document in MS Word (2007 in my case) some strange characters do appear between the text of the table cells.

This bug does not occur if you save in Word 2007+ .docx or even as Word 97-2003 .doc format.
Comment 1 Urmas 2012-03-25 14:06:31 UTC
Created attachment 59035 [details]
Example

Some brightest star from 'developers' probably messed up encodings again.
Comment 2 Jean-Baptiste Faure 2012-03-26 04:32:22 UTC
I confirm the problem with export in MS-Word-6 format. But I have 2 comments:
1/ this format should not be used as export format because it is an unsupported very old format
2/ MS-Word-6 format id not the default format when you save a document with a doc extension. Try this:
   + open a new document
   + type some text
   + click on save button
   + type a name with .doc extension without choosing a file format and validate
So you get the alert on file format which ask you to keep MS-Word 97/2000/XP/2003 format or to use OpenDocument Format.
If you want to save in MS-Word-6, you need to choose it explicitly.

I suggest to close this bug as WontFix because of too old and unsupported target format.

@Rainer: what do you think about that?

Best regards. JBF
Comment 3 Nikos Platis 2012-03-27 11:08:01 UTC
(In reply to comment #2)

> 2/ MS-Word-6 format id not the default format when you save a document with a
> doc extension. Try this:
>    + open a new document
>    + type some text
>    + click on save button
>    + type a name with .doc extension without choosing a file format and
> validate
> So you get the alert on file format which ask you to keep MS-Word
> 97/2000/XP/2003 format or to use OpenDocument Format.
> If you want to save in MS-Word-6, you need to choose it explicitly.

Unfortunately, this was not the case for me: On Arch Linux x86_64 with libreoffice-kde4 package installed, when I type a filename with .doc extension the file type changes to "Microsoft Word 6.0 (.doc)".

> 
> I suggest to close this bug as WontFix because of too old and unsupported
> target format.

I strongly disagree. If Word 6 exists as an export format, it should not be dangerous to use! This bug implies a data loss when a document is saved in Word 6 format, which is, in my opinion, unacceptable. If you can't support it, just drop it altogether.
Comment 4 Rainer Bielefeld Retired 2012-03-27 11:42:18 UTC
Jean-Baptiste Faure, Nikos Platis

I believe indeed the appropriate is to drop WORD6 Export. I suggest some discussion during the next TSC call.
Comment 5 Jean-Baptiste Faure 2012-03-27 13:53:30 UTC
(In reply to comment #4)
> Jean-Baptiste Faure, Nikos Platis
> 
> I believe indeed the appropriate is to drop WORD6 Export. I suggest some
> discussion during the next TSC call.

I agree, it was what I had in mind when I suggested to close this bug report.
Same thing with old staroffice formats (.sdw, etc.)

Best regards. JBF
Comment 6 Michael Meeks 2012-03-29 07:56:44 UTC
Does it work fine saving to word97 asks Caolan ? :-)
Comment 7 Nikos Platis 2012-03-29 07:59:30 UTC
It works correctly, the table is not destroyed (as I mentioned in my original report).
Comment 8 Michael Meeks 2012-03-29 10:12:57 UTC
Splitting the KDE file-picker bug off as bug#48054 - most likely fixing this would solve most of the problem, we don't want to use those ancient lossy formats if we can avoid it.
Comment 9 Luboš Luňák 2012-03-30 10:23:17 UTC
Bug# 48054 fixed in kdelibs.
Comment 10 Urmas 2013-02-06 17:18:26 UTC
That filter was put out of misery recently.