Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Window dragdrop event not fired
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Emmanuel Engelhart  
View profile  
 More options Oct 29 2012, 9:15 am
Newsgroups: mozilla.dev.tech.xul
From: Emmanuel Engelhart <kel...@kiwix.org>
Date: Mon, 29 Oct 2012 14:15:25 +0100
Local: Mon, Oct 29 2012 9:15 am
Subject: Window dragdrop event not fired
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.