Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345633

Summary: closed
Product: [Tools] GEF Reporter: Alec Curto <curtoa>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: CLOSED INVALID QA Contact:
Severity: trivial    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Example of the problem none

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?