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

Bug 493555

Summary: FXBendConnectionPolicy should only perform a normalization after carrying out manipulations.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: 4.0.0 (Neon) RC1   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-05-12 11:48:31 EDT
Per default, the FXBendConnectionPolicy normalizes the connection's control points before committing its operation even when no manipulations were carried out. The normalization should be prevented in such cases because 1) it feels unintuitive that connections can change upon clicking them, and 2) the operation history should not be polluted with irrelevant operations.
Comment 1 Matthias Wienand CLA 2016-05-13 12:45:30 EDT
I ensured that the normalization within commit() is only performed when points were created, made explicit, or were moved by the policy. The code is published on the master branch. Therefore, I resolve this ticket as fixed for 4.0.0 RC1.