PDA

View Full Version : Ext JS 3.4.x - IE10 - Move cursor remains after dragging Window



Rocco
31 May 2013, 3:21 PM
EDIT: found that issue affects IE9 as well.

Ext version tested:


3.4.0, 3.4.1.1

Browser versions tested against:


Internet Explorer 9, Internet Explorer 10

Description:


After dragging a window in Internet Explorer 9-10, the "move" cursor does not revert to the default cursor until the user clicks.


Steps to reproduce:

Open the Ext JS 3.4.x "Hello World" Window example: http://cdn.sencha.com/ext/gpl/3.4.1.1/examples/window/hello.html
Show the window, and drag it to a new position.
Note that after dragging is complete, the mouse cursor is still the "move" cursor.
Now, click anywhere on the page.
Note that the mouse cursor reverts to default.

The result that was expected:


The mouse cursor should revert to default as soon as dragging ends.


Possible fix:


I did some investigating into the D&D classes but was not able to find the exact cause. I was able to fix it with a hack by deferring the call to unghost the window, however:


Ext.override(Ext.Window.DD, {
endDrag : function(e){
Ext.defer(this.win.unghost, 1, this.win); // HACK
this.win.saveState();
}
});

mitchellsimoens
3 Jun 2013, 5:56 AM
Thanks for the report! I have opened a bug in our bug tracker.

Rocco
7 Jun 2013, 6:47 AM
Mitchell, thanks for logging this. It seems that this issue affects IE9 as well. I've edited my original post to reflect this.