Opened 11 years ago

Closed 7 years ago

#7995 closed defect (wontfix)

DnD still highlights text in IE

Reported by: haysmark Owned by: Eugene Lazutkin
Priority: low Milestone: future
Component: DnD Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

Related to #6155.

DnD works well enough for most users in IE with the onselectstart change (it no longer randomly highlights the page's text as in #6155), but if you are *really* fast you can still highlight the text.

Recreate:

  1. Load http://archive.dojotoolkit.org/nightly/checkout/dojo/tests/dnd/test_dnd.html
  2. Move your mouse over the A element.
  3. Press the left mouse button down and simultaneously move the mouse really fast up to the text at the top of the screen.

The A will correctly follow the mouse, but the page's text will be highlighted in IE if you move fast enough after the mouse down. I suspect that onselectstart is firing before DnD sets the drag source, so the event isn't canceled.

Change History (3)

comment:1 Changed 11 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving open tickets to the future.

comment:2 Changed 7 years ago by Eugene Lazutkin

I am not sure it is fixable --- it appears that IE tries to do a lot of things asynchronously meaning that if an app manages to overload JS engine by firing too many events ("if you are really fast"), or by loading a lot of processing on existing frequent events (e.g., on mouse move events) --- IE just breaks and starts skipping events, repaints, re-layouts, and so on with JS events being of the lowest priority. In this case it looks like selection events and some mouse move events are not processed, which leads to an unsuppressed text selection and choppy avatar movement.

comment:3 Changed 7 years ago by bill

Resolution: wontfix
Status: newclosed

Ok, if its not possible to fix should mark as wontfix.

Note: See TracTickets for help on using tickets.