Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330746 - Drag&Drop not observing grid constraints
Summary: Drag&Drop not observing grid constraints
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Matthias Gorning CLA
QA Contact:
URL:
Whiteboard: Indigo M5 theme_round_offs
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-20 16:14 EST by Volker Wegert CLA
Modified: 2011-06-24 09:07 EDT (History)
2 users (show)

See Also:
matthias.gorning: indigo+


Attachments
Screenshot of correct behaviour (5.13 KB, image/png)
2010-11-20 16:15 EST, Volker Wegert CLA
no flags Details
Screenshot of scrolled container (3.67 KB, image/png)
2010-11-20 16:15 EST, Volker Wegert CLA
no flags Details
Screenshot showing incorrect drag&drop positioning (8.07 KB, image/png)
2010-11-20 16:15 EST, Volker Wegert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Wegert CLA 2010-11-20 16:14:25 EST
Build Identifier: 20100917-0705

I have a large container element which is positioned at (0,0) and can contain other elements (the blue translucent rectangle in the screenshots). When I select an element inside this container, I can drag it around and the editor always sticks to the grid (see screenshot 1).

When I select the container itself, the editor scrolls approx. 5 pixels up (see screenshot 2) - probably to ensure that the resizing handles are visible. If I then click an element within the container and immediately start dragging it around, the editor scrolls back to its original position. The shadow indicating the dragged object still seems to stick to the old grid positions before that scrolling operation (see screenshot 3) and accordingly lets me drop the element at a position that does not conform to the grid.

Note that this does not happen if I select the element, release the mouse button and then click a second time to drag it.

Reproducible: Always
Comment 1 Volker Wegert CLA 2010-11-20 16:15:00 EST
Created attachment 183529 [details]
Screenshot of correct behaviour
Comment 2 Volker Wegert CLA 2010-11-20 16:15:28 EST
Created attachment 183530 [details]
Screenshot of scrolled container
Comment 3 Volker Wegert CLA 2010-11-20 16:15:50 EST
Created attachment 183531 [details]
Screenshot showing incorrect drag&drop positioning
Comment 4 Matthias Gorning CLA 2011-01-18 05:58:33 EST
Fixed. Now drag&drop positioning works as expected.
Comment 5 Michael Wenz CLA 2011-05-27 09:13:38 EDT
Part of 0.8.0
Comment 6 Michael Wenz CLA 2011-06-24 09:07:42 EDT
Part of Graphiti Indigo 0.8.0