Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345633 - closed
Summary: closed
Status: CLOSED INVALID
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 13:54 EDT by Alec Curto CLA
Modified: 2011-05-13 07:27 EDT (History)
1 user (show)

See Also:


Attachments
Example of the problem (52.16 KB, image/jpeg)
2011-05-12 14:03 EDT, Alec Curto CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Curto CLA 2011-05-12 13:54:16 EDT
Build Identifier: 20100218-1602

We have a problem where switching the target of a PolylineConnection will cause the pointer decoration to target the correct area.

Reproducible: Always

Steps to Reproduce:
1.Create Polyline connection reference to a target.
2.Hide original target and replace with new target.
3.Replace with original and the anchor for the pointer will be skewed.
Comment 1 Alec Curto CLA 2011-05-12 14:03:40 EDT
Created attachment 195517 [details]
Example of the problem

The reference to Person is skewed from where it should be.
Comment 2 Alexander Nyßen CLA 2011-05-13 03:18:38 EDT
(In reply to comment #0)
> Build Identifier: 20100218-1602
> 
> We have a problem where switching the target of a PolylineConnection will cause
> the pointer decoration to target the correct area.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Create Polyline connection reference to a target.
> 2.Hide original target and replace with new target.
> 3.Replace with original and the anchor for the pointer will be skewed.

What exactly do you mean with "hide" orginal target and "replace" with new target. Can you post a snippet of your code? Can you reproduce it with any of the example editors, e.g. the logic one?