Bug 980387

Summary: Exporting a odg to jpg or tiff generates error
Product: [Fedora] Fedora Reporter: Miguel <luzemail>
Component: libreofficeAssignee: David Tardon <dtardon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: caolanm, dtardon, erack, ltinkl, luzemail, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-08 11:44:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Miguel 2013-07-02 08:49:39 UTC
Description of problem:
sometimes when exporting a odg to another image format (jpg, tiff) the export fails

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Open a odg file
2. Select File export menu
3. write filename with extension without select format in the botton
4. click on save
5. Graphics filter not found error is show

Actual results:
Graphics filter not found error is show

Expected results:
Show export filetype dialog

Additional info:
If i select the format in the botton the export is OK

Comment 1 David Tardon 2013-07-02 09:51:57 UTC
What do you mean by "sometimes"? Does it succeed with some .odg but fails with another one? Or does it fail randomly even with the same .odg? Do you have a sample odg that can be used to reproduce the problem?

Comment 2 Miguel 2013-07-02 10:38:35 UTC
Sorry I was filling the bug and trying to reproduce at same time.

The error appears when you export a odg to another format writing the extension into the file name.
If you don't select the format in the bottom list a graphics filter error appears.

Comment 3 David Tardon 2013-07-02 10:56:16 UTC
There are two unrelated problems here:

1. Selection of format for export from file extension does not work for formats that have two or more extensions associated with them. So "file.png" is saved correctly, but "file.jpg" is saved as file.jpg.xpm in X pixmap format.

2. IIRC xpm filter is in libreoffice-graphicfilter package, which you probably do not have installed. Therefore you are getting an error.

Comment 4 Miguel 2013-07-02 11:16:55 UTC
Hello David 

About libreoffice-graphicfilter package is installed

[root@localhost luzem]# rpm -qa | grep graphicfilter
libreoffice-graphicfilter-4.1.0.1-3.fc19.i686