Bug 48194 - Writer on linux doesn't export correctly some gif files to PDF and HTML
Summary: Writer on linux doesn't export correctly some gif files to PDF and HTML
Status: RESOLVED INVALID
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 normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 07:12 UTC by cristi falcas
Modified: 2015-06-18 17:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (40.10 KB, application/x-zip-compressed)
2012-04-02 07:12 UTC, cristi falcas
Details
test document (56.45 KB, application/vnd.oasis.opendocument.text)
2012-08-30 13:48 UTC, cristi falcas
Details
generatedd html (17.08 KB, application/x-zip)
2012-08-31 08:58 UTC, cristi falcas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cristi falcas 2012-04-02 07:12:54 UTC
Created attachment 59379 [details]
test document

1. Open the attached document (Untitled 1.odt) on Linux.
2. Save as html or export to pdf.
3. The gif image is saved as only a transparent background. Pdf file is empty.

This happens only on linux: tested on Ubuntu and Fedora. 

Also I tested with Fedora libreoffice 3.5.1, 3.4.5 (32bit) and Ubuntu 3.4.5 (64bit).
Comment 1 sasha.libreoffice 2012-06-29 02:35:20 UTC
Thanks for bugreport
reproduced on Fedora 64 bit (Windows not tested)
in 3.3.4 and 3.5.4: export to PDF and saving as html works wrong
in 3.6.beta1: export to PDF has wrong image size, it is cropped, but html works correctly.
In all cases used File->Save as for producing HTML
Comment 2 cristi falcas 2012-08-30 13:48:15 UTC
Created attachment 66338 [details]
test document

new doc with new problems in version 3.6.1
Comment 3 cristi falcas 2012-08-30 13:48:31 UTC
tested with 3.6.1.2 on fedora and I got the same result.

But now there are new problems also:
- text is centered in html (not in the original document)
- text color is orange (black in original document)

I have attached a new document with some text.

The documents (both Untitled 1.odt and Untitled 2.odt) where generated by LibreOfiice from a doc made in word.
Comment 4 sasha.libreoffice 2012-08-31 05:54:02 UTC
reproduced with second attachment using File->Save as and selecting html
in 3.3.4, 3.5.5, 3.6.1 on Fedora 64 bit

when use File->Export and select html, then text looking correctly, but Firefox and Konqueror can not open picture
Comment 5 cristi falcas 2012-08-31 08:58:14 UTC
Created attachment 66391 [details]
generatedd html

attached output generated by the command:

/opt/libreoffice3.6/program/soffice --convert-to "html:HTML (StarWriter)"  --outdir ./ Untitled\ 2.odt
Comment 6 cristi falcas 2012-08-31 09:01:00 UTC
I was mistaken, the generated image is now visible, but I forgot about another, older bug: in the html file all images paths are prepanded with "../", which will make them inaccessible.

But the problem with the font color/alignment is a new one: html have this css definition:

P { margin-bottom: 0in; direction: ltr; color: #ff9900; line-height: 119%; text-align: center; widows: 2; orphans: 2 }

color=ff9900, text-align=center

I will open another bug for this

I think this one can be closed
Comment 7 QA Administrators 2015-04-19 03:23:12 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   *Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
   https://www.libreoffice.org/download/

   *If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
   *If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   *Update the version field
   *Reply via email (please reply directly on the bug tracker)
   *Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results. 
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-18
Comment 8 Buovjaga 2015-06-18 17:06:58 UTC
INVALID per comment 6.