| Summary: | [DND] Cannot drag and drop Views and Editors if mouse click held down | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | <h1055071> |
| Component: | SWT | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | carolynmacleod4, daniel_megert, Mike_Wilson, Silenio_Quarti |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Well, actually you can drag and drop but the behaviour is different than in 3.6. In 3.7 if you click on an icon and hold for more than a second or so you cannot drag it. It seems you have to click and drag very quickly. Takes some practice. I've edited the title of this bug to more accurately reflect the true (and critical) nature of this bug. This bug also affects dragging and dropping Views and Editors in Eclipse. If you click on a View or Editor's title bar, hold down the mouse for a second or so you cannot drag it. I've tagged this for a look in M6. Is the original behavior you described also present (i.e. do you have the same problems re-arranging the perspective buttons) ? (In reply to comment #3) > I've tagged this for a look in M6. > > Is the original behavior you described also present (i.e. do you have the same > problems re-arranging the perspective buttons) ? Yes, also the perspective buttons. Here's a quick steps to reproduce for a View: 1. Mac OS X Eclipse 3.7 Cocoa 2. In Eclipse mouse click on the title bar of a View. 3. Hold mouse down for a second. 4. With mouse still held down, try to drag the View. Here's a quick steps to reproduce for a Perspective bar button: 1. Mac OS X Eclipse 3.7 Cocoa 2. In Eclipse mouse click on a button in the Perspective toolbar. 3. Hold mouse down for a second. 4. With mouse still held down, try to drag the toolbar button. If, however, you click, and then drag very quickly without lingering on the mouse held down it will work. This appears to be an SWT defect. Car just did the following test... Install 3.6.2, verify that DnD works Open a workspace containing the latest (3.7) SWT and run an inner The DnD fails in the manner described... Changing ownership to SWT (You may want to update the target milestone). Fixed > 20110303. Fix for bug#328396 caused this. SWT.DragDetect should fire when the timeout expires or when the user moves the mouse enough. The former was not true on cocoa and gtk. I tested this on Eclipse 3.7 M6, Cocoa 64-bit: behaviour is now as expected. Confirmed fixed. Many thanks. I'm setting the platform to 'All' as not only Mac OS X was affected and fixed. NOTE: The fix caused a regression on GTK, see bug 344686. |