Bug 171457 - Reconnecting connection to its bookmark hangs the app
Summary: Reconnecting connection to its bookmark hangs the app
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0.2   Edit
Hardware: All All
: P3 normal
Target Milestone: 1.0.3   Edit
Assignee: Alex Boyko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 16:03 EST by Alex Boyko CLA
Modified: 2007-01-25 12:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boyko CLA 2007-01-23 16:03:20 EST
To reproduce:
1. Throw 2 shapes on a new logic diagram
2. Connect them with a line connector
3. Select connection and go to Edit->Add Bookmark (i.e. create a bookmark for the connection). Now you should see a small blue rectangular decoration on top of the connection.
4. Grab one of the ends of the connection and drag it on the top of the bookmark decoration
Result: Application hangs.
Expected: application should be working normally and a "no-smoking" cursor should be appearing.

Problem: Decoration's figure is registered with the connection's edit part, hence when you hover on it the target edit part is connection's edit part. However, connection cannot be connected to itself that results in an infinite loop. Hence, we shouldn't be getting connection edit part as a target edit part when we reconnect it.
Comment 1 Alex Boyko CLA 2007-01-25 12:04:36 EST
Fixed and committed for 1.0.3 and 2.0
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug