Now i have the same Problem with chrome 3.0.196.2

"The drag-and-drop event is invalid"

On 5 Aug., 04:45, qyb <[email protected]> wrote:
> gohttp://code.google.com/p/gears/updates/list
>
> http://code.google.com/p/gears/source/detail?r=3393
>
> Let's wait next release.
>
>
>
> On Wed, Aug 5, 2009 at 4:55 AM, agomes<[email protected]> wrote:
>
> > Any news on this issue?
>
> > On 29 Jul, 15:34, Tobi <[email protected]> wrote:
> >> Please fix this! Please...
>
> >> On 21 Jul., 09:38, Danguba <[email protected]> wrote:
>
> >> > Same here
>
> >> > On Jul 20, 10:54 am, Tobi <[email protected]> wrote:
>
> >> > > Same Problem here
>
> >> > > On 17 Jul., 14:13, Brendan <[email protected]> wrote:
>
> >> > > > Same problem here, 
> >> > > > reportedhttp://groups.google.com/group/gears-users/browse_thread/thread/50ea8...
>
> >> > > > Can these be merged?
>
> >> > > > I can also report that it still works fine in IE 7.
>
> >> > > > On Jul 15, 3:35 pm, adam <[email protected]> wrote:
>
> >> > > > > I'm having trouble with Gears file drag and drop in Firefox 3.5.  
> >> > > > > I'm
> >> > > > > registering an event listener for the 'drop' event like so:
>
> >> > > > > function handleFileDrop(evt) {
>
> >> > > > >         if (evt.preventDefault) {
> >> > > > >                 evt.preventDefault();
> >> > > > >         }
>
> >> > > > >         var desktop = google.gears.factory.create("beta.desktop");
> >> > > > >         var data = desktop.getDragData(evt, 
> >> > > > > 'application/x-gears-files');
> >> > > > >         var files = data && data.files;
> >> > > > >         if (files) {
> >> > > > >            // process files here
> >> > > > >         }
>
> >> > > > >         return false;
>
> >> > > > > }
>
> >> > > > > dropTarget.addEventListener('drop', handleFileDrop, false);
>
> >> > > > > The event is fired and captured properly but the call to
> >> > > > > desktop.getDragData() returns "The drag-and-drop event is invalid."
>
> >> > > > > I've tested this on CentOS 5.3 and Windows XP with the same 
> >> > > > > results.
>
> >> > > > > Any ideas what might be going wrong?
>
> >> > > > > Note: this code works with gears on Firefox 3.0.x when listening 
> >> > > > > for
> >> > > > > the 'dragdrop' event.  Also the script tag including gears_init.js 
> >> > > > > is
> >> > > > > in the body tag not the head.

Reply via email to