Bug 475820 - Sequence diagram - Ignore preferences "Snap to Grid" and "Snap to Shapes"
Summary: Sequence diagram - Ignore preferences "Snap to Grid" and "Snap to Shapes"
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 0.9   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: 3.0.1   Edit
Assignee: Project Inbox CLA
QA Contact: Florian Barbin CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 431033 443385 446409
Blocks:
  Show dependency tree
 
Reported: 2015-08-25 10:39 EDT by Pierre-Charles David CLA
Modified: 2015-12-15 05:22 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2015-08-25 10:39:20 EDT
+++ This bug was initially created as a clone of Bug #443385 +++

For sequence diagrams, the documentation clearly says : 

"...IMPORTANT WARNING: To work correctly, Sirius sequence diagrams must have a tight control on where the graphical elements are placed on the diagram and on their synchronization with the underlying semantic model. This means that to use sequence diagrams you must:
* Disable the _Snap to Grid_ and the _Snap to Shapes_ behaviors. For an existing diagram, this is available in the _Rulers & Grid_ section of the _Properties_ view when the diagram itself is selected. You can also disable it for all future diagrams in the preferences: _Sirius > Sirius Diagram > Rulers and Grid_, un-check the _Snap to grid for new diagrams_ and _Snap to shapes for new diagrams_ check boxes."

It will be better if these preferences are ignored for sequence diagrams. A good hint fot that is probably org.eclipse.gmf.runtime.diagram.ui.internal.ruler.SnapToHelperUtil.getSnapHelper(GraphicalEditPart).
Comment 1 Pierre-Charles David CLA 2015-08-25 10:39:39 EDT
Clone to backport the fix for Sirius 3.0.1.
Comment 2 Eclipse Genie CLA 2015-08-25 10:51:54 EDT
New Gerrit change created: https://git.eclipse.org/r/54495
Comment 4 Pierre-Charles David CLA 2015-09-02 04:36:37 EDT
Fixed by aeea98e8de00418f4b7ef0a5b30d842f01976525.
Comment 5 Pierre-Charles David CLA 2015-12-15 05:22:34 EST
Available in Sirius 3.0.1 released on 2015-09-10.