#6155 closed defect (fixed)
dragging on IE tends to select the underlying text
Reported by: | bill | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.2.2 |
Component: | DnD | Version: | 1.0 |
Keywords: | Cc: | Jared Jurkiewicz | |
Blocked By: | Blocking: |
Description (last modified by )
See themeTester.html on IE6. On the DND tab, try to drag from one list to another. Chances are the underlying text (of the objects not being moved) will get selected and it's hard to drop.
Problem happens when you quickly move the mouse after pressing the mouse button (perhaps moving the mouse before DnD code has started to execute). Not sure if it's feasible to fix but would definitely be nice.
BTW, I reproduced on IE6 on Windows, plus on parallels.
Attachments (1)
Change History (9)
Changed 14 years ago by
Attachment: | unwantedSelection.gif added |
---|
comment:1 Changed 14 years ago by
Milestone: | → 1.2 |
---|---|
Status: | new → assigned |
Dup of #4883, but reproduces the problem with unmodified test file. #4883 is closed in favor of this ticket.
The problem is unlikely to be solved cleanly. At this point it appears that IE6 may interpret onmousemove events with a pressed mouse button, as a text selection no matter what we do. To refresh the memory: onmousemove in uncancellable event. I observed similar effect under high load on FF2. If OS tries to load the handler in memory from disk while processing a mouse event, and fails to do so in some"reasonable time" (~1s), the event go to the browser, which starts the text selection process.
Probably the best we can do is to remove selection periodically during the move potentially causing a flicker.
comment:2 Changed 14 years ago by
Cc: | Jared Jurkiewicz added |
---|---|
Summary: | dragging on IE6 tends to select the underlying text → dragging on IE tends to select the underlying text |
IBM #82133
Recreated using test_dnd.html and IE7
comment:4 Changed 14 years ago by
I was able to fix the problem with selection by adding the following code at addOnLoad:
dojo.connect(document.body, "onselectstart", function(event){ if (dojo.dnd.manager().source) { dojo.stopEvent(event); } });
There could be some holes in it, but it's simple and seems to eliminate the selection issue.
comment:5 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Milestone: | future → 1.2.1 |
Priority: | normal → high |
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The trac is acting up and not registering changesets. This ticket was fixed.
comment:7 Changed 14 years ago by
Milestone: | 1.2.1 → 1.2.2 |
---|
unwanted selection