[upstream] Draw exporting .odg to .eps removes inserted image

Bug #253670 reported by Ubuntu on 2008-07-31
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Confirmed
Low
OpenOffice
Unknown
Low
libreoffice (Ubuntu)
Medium
Unassigned
openoffice.org (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: openoffice.org

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-draw
libreoffice-draw:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

apt-cache policy unoconv
unoconv:
  Installed: 0.3-6
  Candidate: 0.3-6
  Version table:
 *** 0.3-6 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in LibreOffice Draw via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/253670/+attachment/364486/+files/EPS.odg && unoconv --listener && unoconv -f eps EPS.odg && lodraw -nologo EPS.odg EPS.eps

the two files look the same.

4) What happens instead is the image at the bottom right of EPS.eps disappears.

Original Reporter Comments: Ubuntu 7.10 Gutsy, Oo Draw 2.3 (package version 1:2.3.0-1ubuntu5.4)

I made a simple graphic (a single ellipse) in draw,
and exported it as EPSF with preview.

I checked the content with kghostview, and it was correct.

I then placed (embedded) the ellipse on a new draw-ing, and created
a rectangle around the ellipse. I then exported THIS page as EPSF.

Viewing this file with kghostview
showed a rectangle, with no ellipse; THIS IS WRONG.

A little low level postscript hacking showed that the ellipse was WAY off the
bottom of the page (by about 10 pages with, judging by eye)

Bizarrely, printing postscript to a file generates correct
output, so there *is* working code in there somewhere, but it's
not being used on export.

     BugBear (one of the creators of the Hyphen PostScript RIP)

Created attachment 24970
the small graphic that will be placed

Created attachment 24971
drawing with "sub" place in a rectangle

Created attachment 24972
main drawing exported as EPSF (this is the faulty file)

Created attachment 24973
altered version of super.eps giving partial demonstration of the nature of the problem (view with kghostview or similar)

The "hacked" file shrinks the super.eps graphic by a factor of 100;
it also disables the postscript clip command.

This allows the super.eps to be place in the middle
of an A4 page (it comes out rather small ;-), and
shows that the "sub" graphic is present, but is in
completely the wrong place. Since it is normally
outside the "super" pages clip bos, it is also invisible,
whic is why I killed the clip command.

Reproducible.

sj->wg: This seems to be a eps in eps problem, I will check this.

Because of a too huge workload I can't fix this issue for OOo 2.01 -> changed
target to OO Later.

Successfully replicated with OOo 1.1.3, UBUNTU Linux 5.04 running on a P4 1.7 GHz
512MB RAM machine.

This problem exists in OOo 2.0.3. Opening an EPS file created by any app (OOo
Draw and Inkscape and GIMP tested) in OOo Draw simply produces a plain rectangle
labelled with some of the file's header information.

An old bug... It still exists in OOo 2.4.1, on Ubuntu 8.04 (OOo 2.4.1-1ubuntu2).

Ubuntu (otmar-bayer) wrote :
  • EPS.odg Edit (19.4 KiB, application/vnd.oasis.opendocument.graphics)

Thanks for your bug report I can confirm this occurs and will attach a odg and eps generated from the odg for developers to compare against.

Neil Munro (neilmunro) wrote :

I should note this occurs on Hardy with openoffice 2.4.1 so it's still present a version later, also attached is the other file
.

Changed in openoffice.org:
status: New → Confirmed
Chris Cheney (ccheney) on 2008-10-17
Changed in openoffice.org:
importance: Undecided → Low
status: Confirmed → Triaged
Changed in openoffice:
status: Unknown → In Progress

Created attachment 74053
Prilosec

summary: - [upstream] OpenOffice Draw exports broken EPS
+ [upstream] Draw exporting .odg to .eps removes inserted image
description: updated
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: lo33

Created attachment 47344
EPS.odg

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/253670

OOo bug may be found at:
http://qa.openoffice.org/issues/show_bug.cgi?id=47237

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-draw
libreoffice-draw:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

apt-cache policy unoconv
unoconv:
  Installed: 0.3-6
  Candidate: 0.3-6
  Version table:
 *** 0.3-6 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in LibreOffice Draw via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/253670/+attachment/364486/+files/EPS.odg && unoconv --listener && unoconv -f eps EPS.odg && lodraw -nologo EPS.odg EPS.eps

the two files look the same.

4) What happens instead is the image at the bottom right of EPS.eps disappears.

Changed in df-libreoffice:
importance: Unknown → Low
status: Unknown → Confirmed
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete

Reproducible in:
LOdev 3.5.0beta2
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Microsoft Windows Vista Business 6.0.6002 Service Pack 2 Build 6002

Changed in openoffice:
status: In Progress → Unknown
Changed in df-libreoffice:
status: Incomplete → Confirmed
Changed in openoffice:
importance: Unknown → Low

Christopher, is this bug still valid / reproducible with the latest LO release from http://www.libreoffice.org/download/ ?

When I open your example file I have no option to save to .eps file format. Maybe this option was removed, which would make this bug a wontfix?

James, thanks for checking in. Unfortunately, the situation has gotten worse, as a regression in displaying the original .odg occurred with:
Microsoft Windows Vista Business x86 6.0.6002 Service Pack 2 Build 6002
Version: 4.1.1.2
Build ID: 7e4286b58adc75a14f6d83f53a03b6c11fa2903

instead of showing a squiggly line at the bottom right, it shows nothing.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.