Community
Participate
Working Groups
Created attachment 270061 [details] DragNDrop.zip If you drag'n'drop an element from a container to the diagram, the element is not dropped at the location where you drop the element. On the other hand, the feedback is correct. The element seems to be dropped at the center of the visible part of the diagram. Steps to reproduce: * Import project DragNDrop from DragNDrop.zip (project created with ODCE 9.1.1/Sirius 4.1.3) * Open diagram "new TC1041 representation 2 Blank" * Drag'n'drop P2 from P1 to the diagram (at the top left of the diagram) * KO: P2 is dropped at the center of the visible part of the diagram This problem is true with or without snapToGrid enabled. It has been discovered during the test of bug 520629.
New Gerrit change created: https://git.eclipse.org/r/104328
New Gerrit change created: https://git.eclipse.org/r/104349
TODO: reactivate the checkEditPartLocation in DragNDropTest
Gerrit change https://git.eclipse.org/r/104349 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=64961f6a481e9080a29a2e66aaa5ba96b43cc666
Gerrit change https://git.eclipse.org/r/104328 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8950ecc36f5d54b7477be039b406665e80699273
Marking as triaged as there has already been some tests changes committed on this, so I assume the issue is real and reproducible in these tests.