DataTransfer loses some of its information after about 5 seconds



10 years ago
8 years ago


(Reporter: iann_bugzilla, Unassigned)


Firefox Tracking Flags

(Not tracked)




10 years ago
Thunderbird makes use of nsDOMDataTransfer for its drag and drop. If you don't complete your drop within 5 seconds of starting the drag, information retrieved by mozGetDataAt seems to get corrupted.

Steps to reproduce:
Case 1: Within TB try to drag and drop a folder onto the same server doing it within 5 seconds
Case 2: Within TB try to drag and drop a folder onto the same server making sure you take about 10 seconds to do it.

Case 1: Folder gets moved successfully
Case 2: Folder gets copied instead of being moved

If you insert a dump command to look at some of the data, just before
something like folders[0].prettyName then for case 1 you get the correct prettyName but for case 2 you get undefined. You get similar results for other information you expect to be there.
mozTypesAt still seems to be giving the correct information out as does mozItemCount


10 years ago
Blocks: 465015

Comment 1

10 years ago
Doing a QI on the folder object seems to workaround the issue.

Comment 2

8 years ago
More likely a Thunderbird issue.
Component: Drag and Drop → General
Product: Core → Thunderbird
QA Contact: drag-drop → general
Version: 1.9.1 Branch → unspecified

Comment 3

8 years ago
doesn't do it with local folders.

Comment 4

8 years ago
Ian, do you still see this?  using version 3.1?

going imap to imap, WFM also with Mozilla/5.0 (Windows NT 6.0; rv:2.0b8pre) Gecko/20101106 Thunderbird/3.3a1pre
You need to log in before you can comment on or make changes to this bug.