Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355027 - Zoom a diagram to (>100%) , Move behaves weirdly. Moved shapes go to random places
Summary: Zoom a diagram to (>100%) , Move behaves weirdly. Moved shapes go to random p...
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Michael Wenz CLA
QA Contact:
URL:
Whiteboard: Juno M2 theme_bugs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 23:12 EDT by Maqsood Ahmed CLA
Modified: 2012-06-28 10:41 EDT (History)
1 user (show)

See Also:
michael.wenz: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maqsood Ahmed CLA 2011-08-17 23:12:35 EDT
Build Identifier: 3.7


When i move decorators(of Connection) at 100% diagram size, no problems exists, everything works.

Now i Zoom to say 200+% and try to get the decorators to original position, 

These decorators tend to go to random places. 

Reproducible: Always

Steps to Reproduce:
1. Have a connection with Text decorator around its start/end 

2. Move the decorator out of the container area into the canvas.(see P.S)

3. Zoom to 150/200 % + then try to get the decorator back to its original position.

P.S : The Connection connects two rounded rectangles existing in a large rounded rectangle . 

4. You will see that the text decorator will move to random place,not the place at which you release your mouse button.
Comment 1 Michael Wenz CLA 2011-08-18 03:16:49 EDT
Reproducable using the sketch test tool
Comment 2 Michael Wenz CLA 2011-09-01 05:14:39 EDT
Found a special treatment for ConnectionDecorators in ShapeXYLayoutEditPolicy.createAddCommand that did not make sense.

Cleaned up that special treatment and created a SWTBot test for this.
Comment 3 Michael Wenz CLA 2011-09-01 05:15:05 EDT
commit 018f46ffab6b40489fe691f83b70919b7dbfcb87
Author: mwenz <michael.wenz@sap.com> 2011-09-01 10:46:04
Committer: mwenz <michael.wenz@sap.com> 2011-09-01 10:46:04
Parent: 993d343dc450f52c552feda08982d17c7bbf051d (Integration with introduction of page objects)
Branches: origin/master, master

Bug 355027: Move of connection decorators when zoom level != 100 behaves
weird
Comment 4 Michael Wenz CLA 2012-04-11 10:34:10 EDT
Bookkeeping: Set target release
Comment 5 Michael Wenz CLA 2012-06-28 10:41:34 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)