Community
Participate
Working Groups
Build Identifier: I20100312-1448 org.eclipse.gef.tools.AbstractTool has the following code: static { if (SWT.getPlatform().equals("carbon"))//$NON-NLS-1$ MODIFIER_NO_SNAPPING = SWT.CTRL; else MODIFIER_NO_SNAPPING = SWT.ALT; } The platform check must change to encompass Cocoa - will supply patch changing the line to: > if (Platform.OS_MACOSX.equals(Platform.getOS())) { Reproducible: Always Steps to Reproduce: 1. open a GEF editor (on Cocoa) where a snap grid can be enabled and enable it 2. create an object 3. start dragging the object - it will snap to the grid regardless of whether the CTRL key is held down or now (works fine on Carbon)
Created attachment 169003 [details] Patch for correct Mac OS X detection
Committed to HEAD for RC2.