Bug 502471 - Prevent unnecessary transformation changes within FXResizeTranslateFirstAnchorageOnHandleDragPolicy
Summary: Prevent unnecessary transformation changes within FXResizeTranslateFirstAncho...
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF MVC (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 12:40 EDT by Matthias Wienand CLA
Modified: 2016-09-28 12:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.