Issue 7447 - Load/Save FAILS to preserve GluePoint Attributes
Summary: Load/Save FAILS to preserve GluePoint Attributes
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 641
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: christian.guenther
QA Contact: issues@graphics
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-09-02 18:28 UTC by Unknown
Modified: 2003-09-08 16:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-09-02 18:28:13 UTC
If a GluePoint has BOTH the FixedHorizontalLeft AND the FixedVerticalBottom
attributes, then a Save/Restore or Save/Exit/Load cycle will NOT RESTORE the
object attributes as set. The FixedVerticalBottom is replaced by
FixedVerticalCenter. This really messes up flowcharts after long hours of work!

This substitution only happens for GluePoints with the above combination of
attributes. My flowchart objects have clusters of GluePoints at all corners and
sides, so I have every possible combination of FixedHorizontal and FixedVertical
attributes within one object. No need for you to go searching for other
combinations.

Interestingly the X,Y deltas for each GluePoint are preserved, making the
lower-left group of GluePoints simply jump up to the left-center position.

I can't tell if the problem is faulty Save or faulty Load code.

-brice
Comment 1 Unknown 2002-09-02 18:34:49 UTC
oh, and I am running Mandrake's build of 641 under Mandrake 8.2
(download version).
Comment 2 prgmgr 2002-09-03 04:10:24 UTC
Thanks for posting Brice.

Duplicate on Win NT 4.0 SP6a, OO 1.0.1.

Comment 3 prgmgr 2002-09-03 04:16:22 UTC
1.  Start Draw.
2.  Create a rectangle.
3.  Create a custom Glue Point.
4.  Move it to the bottom left hand corner.
5.  Right click and deselect "Adapt Position to Object"
6.  Right click and select "Fixed Horizontal Left"
7.  Right click and select "Fixed Vertical Bottom"
8.  Save the drawing.
9.  Reopen the drawing and the glue point properties have changed.
Comment 4 wolframgarten 2002-09-10 12:43:47 UTC
Reassigned to Armin.
Comment 5 Armin Le Grand 2002-10-08 18:09:29 UTC
Christian, there seems to be a error in XML import/export concerning 
this attributes.
Comment 6 clippka 2002-10-15 15:09:36 UTC
yes, will fix this
Comment 7 clippka 2002-11-27 10:26:06 UTC
fixed in lates build
Comment 8 clippka 2003-01-08 14:40:41 UTC
reopen to send back to qs
Comment 9 clippka 2003-01-08 14:41:44 UTC
fixed in OOo 1.1beta
Comment 10 christian.guenther 2003-01-22 11:42:10 UTC
1According to the comment of CL Set the issue to fixed.
Comment 11 christian.guenther 2003-01-22 11:52:05 UTC
Verified in the latest internal version. the fix is integraated in the
next developer build.
Comment 12 christian.guenther 2003-01-22 11:52:23 UTC
I close the issue