Window dragdrop event not fired

Emmanuel Engelhart <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Hi,

I have a xulrunner app. and want to open file by drag&drop from the file
explorer. This was working with 1.9.2 but it does not anymore using
XR14. I guess the HTML5 implementation is the rootcause, so I want now
to implement it in the new/right way... But until now I fail.

It seems that the "window" DOM element does not get the "dragdrop" event
trigger:
https://developer.mozilla.org/en-US/docs/DOM/window.ondragdrop

I have a xul window with those attributes:
ondragdrop="dump('ondragdrop\n')"
ondragleave="dump('ondragleave\n')"
ondragenter="dump('ondragenter\n')"
ondragover="dump('ondragover\n')"

All events are triggered by moving from my desktop a file to my
application window... except the "dragdrop" one. By releasing the mouse
left button, I get in place a "dragleave" event triggered.

Is that a bug or do I misunderstand something?

Regards
Emmanuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.