Opened 8 years ago

Closed 6 years ago

#18157 closed defect (patchwelcome)

FileUploader onCancel fires too soon in Chrome due to erroneous mouseout

Reported by: deanlandolt Owned by:
Priority: undecided Milestone: 1.13
Component: DojoX Uploader Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:


Chrome fires a "mouseout" event when the mouse leaves the page, and when mousing over the upload dialog itself. The results to onCancel being fired early. If the upload is actually cancelled this leads to an onChange event, with a dummy file object (empty string name, "0kb" size).

This behavior can be observed in the file uploader demo with in non-flash mode:

Change History (4)

comment:1 Changed 8 years ago by deanlandolt

A chromium issue was created for this:

There's no obvious workaround so hopefully this will get fixed in chrome.

comment:2 Changed 8 years ago by deanlandolt

The chromium team pointed out this behavior exists in mac/firefox as well. The expected behavior exists safari, and in chrome and firefox on windows, so I went ahead and opened an issue in bugzilla too:

comment:3 Changed 6 years ago by dylan

Milestone: tbd1.12

fwiw, still unfixed in Chrome or Firefox.

comment:4 Changed 6 years ago by dylan

Resolution: patchwelcome
Status: newclosed

Given the lack of attention that dojox/form/Uploader has received, I'm closing this ticket as patchwelcome. If you would like to work on a fix, please create a pull request and reopen the ticket.

Note: See TracTickets for help on using tickets.