Bug 502471

Summary: Prevent unnecessary transformation changes within FXResizeTranslateFirstAnchorageOnHandleDragPolicy
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-09-28 12:40:25 EDT
Currently, the FXRTFAOHDP introduces a slight translation even when only resize should be performed. This is because the initial translation values are transformed, offset by the computed translation, and inverse-transformed. Even when the offset is null, the final translation values differ from the initial values due to the transformation. This should be prevented by not performing the translation computation when it is unnecessary.

Furthermore, the FXRTFAOHDP can be used to translate a part without resizing it, for example, by dragging the top left handle to the bottom right. The minimum size is preserved but the location is changed, nonetheless. This should be prevented in the same way it is prevented to resize the visual below its minimum size when dragging the bottom right handle to the top left.