Issue 75928 - Separating a group imported from DXF distorts the drawing
Summary: Separating a group imported from DXF distorts the drawing
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.2
Hardware: PC Windows 2000
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2007-03-30 16:43 UTC by honza_k
Modified: 2013-08-07 15:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

A DXF file to demonstrate this bug (54.50 KB, application/octet-stream)
2007-03-30 16:44 UTC, honza_k
no flags Details
a WMF file to test the behavior after separating the group (26.13 KB, text/plain)
2007-04-02 10:21 UTC, honza_k
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description honza_k 2007-03-30 16:43:59 UTC
I'm using OpenOffice 2.2, Czech version

After importing a DXF file (I will attach it), the file is imported as one group
and looks exactly the same as in the application where it was created.

To be able to edit it, you have to first break the group apart to separate
objects. Once you do it, some of the shapes would be distorted and the positions
and sizes of the text would be moved.

How to reproduce:

1. Import the attached drawing into OODraw using Open...
2. You will see 3 schematics in one group appear.
3. Right click on the group and choose "Separate" or "Break apart" ... I don't
know exactly the english word for this menu item, in the Czech language it is
"Rozpojit" (it separates previously grouped objects)
4. Now you see that all the texts move, and the triangle in the upper right
schematics (operational amplifier) will loose one of its endpoints ...

Similar behavior occurs when I open a WMF file - the curves and lines maintain
their positions, but the text moves and even the font is changed!

Strange thing is, that before separating the group, the imported image looks as
it should ... Separating it into objects should not change the shapes and fonts!
Comment 1 honza_k 2007-03-30 16:44:58 UTC
Created attachment 44077 [details]
A DXF file to demonstrate this bug
Comment 2 kpalagin 2007-04-01 18:08:29 UTC
Confirming with 2.2m8 - all text jumps around.
Comment 3 wolframgarten 2007-04-02 07:53:59 UTC
Reproducible. Reassigned.
Comment 4 Armin Le Grand 2007-04-02 09:58:51 UTC
AW: It's not a group, it's a metafile (look at bottom left when object is
selected for more object info). BTW: With groups, it would not be necessary to
break the group first, You also may 'enter' it, a speciality of OOo/SO.

AW->SJ: Metafile breakup and text jumping around. Is this known?
Comment 5 honza_k 2007-04-02 10:21:01 UTC
Created attachment 44154 [details]
a WMF file to test the behavior after separating the group
Comment 6 honza_k 2007-04-02 10:23:29 UTC
See the last file I added - it is a WMF file that after separating also distorts
the texts - it does not change the texts' positions, but it completely distorts
the fonts and makes them unusable. The only thing that remains "as was" is the
stretched text in the middle.

And the rectangle with thick border is not a rectangle anymore, but a
combination of polygons ...
Comment 7 Armin Le Grand 2007-04-02 12:00:21 UTC
AW->honza_k: Yes, that's what metafiles contain. A Metafile is a record of an
application painting something to a device. If the application (NOT OOo(!), the
app You used to produce the WMF) creating the metafile paints rectangles
spliiting them in funny smaller graphic pieces, then the metafile contains
exactly that. WMF is NOT a high-level vector format. HTH.
Comment 8 dimitri 2008-05-22 18:46:54 UTC
If you create a drawing with OOo, turn it into a metafile (Convert to 
Metafile) and then "break" it, you get the same behaviour.  No one else to 

See also Issue 87039.
Comment 9 wolframgarten 2008-05-23 15:11:39 UTC
Target changed.