Bug 343251 - [Tree] Items can be dragged and edited at the same time
Summary: [Tree] Items can be dragged and edited at the same time
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 05:47 EDT by Tim Buschtoens CLA
Modified: 2016-01-26 05:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2011-04-19 05:47:50 EDT
How to reproduce:
- In the examples demo go to the Tree page.
- Double-click a tree-item, but stay on the mousebutton on the second click.
- As a result the cell-editor is open while the item is beeing dragged.

Notes:
- The double-click and dragstart event are sent to the server with the same request, so the issue could be solved on the client (prevent either sending double-click or don't start dnd), or on the server (cancel dnd or dont open cell-editor).
- In some browser the text within the cell-editor can be draggen. However, this is a browser-feature and is not recognized by RWT as a DND-operation. It is not related to this bug.
- I'm not yet sure that if this is a bug in RWT or in the examples demo.
Comment 1 Ivan Furnadjiev CLA 2011-09-21 06:55:16 EDT
From my understanding, a mouse "click" means press *and* release of mouse button. I think that we should not fire double-click event if the button of the second click is not released.
Comment 2 Ivan Furnadjiev CLA 2014-05-13 05:48:06 EDT
Still valid with RAP 2.3M3.
Comment 3 Ivan Furnadjiev CLA 2016-01-26 05:39:37 EST
Still valid with RAP 3.1M4.