Drag and drop (OSR)

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Drag and drop (OSR)

Postby jegger » Wed Aug 03, 2016 4:13 am

I have two questions regarding drag&drop (only inside the browser window, not dragging data in/out of the window).
For testing purposes I am using this two pages in combination with cefclient on Linux:
- http://html5demos.com/drag
- http://mdn.github.io/drag-and-drop/copy ... nsfer.html
I additionally tested (without OSR) the SampleApplication from SpotifyBuilds (is this the same as cefclient?) on osx => (same behavior).

Drag and drop in OSR:
When I run the html5demos.com example it does not work at all.
When I run the mdn example I only see the dragStart event getting called.
Shouldn't it already be implemented as the issue #1032 (https://bitbucket.org/chromiumembedded/ ... k-with-off) is marked as resolved?

Drag and drop without OSR:
The html5 demo runs as expected.
The mdn example does not run. In the console I see that only dragStart and dragEnd is getting called. But not dragOver.
I suspect that also other drag-event's are not getting called (e.g. dragEnter).
Is that a bug or just not implemented? I tried looking into the cef-sources but I am not sure about that.

Thanks,
jegger
Newbie
 
Posts: 6
Joined: Fri Jun 07, 2013 8:08 am

Re: Drag and drop (OSR)

Postby magreenblatt » Thu Aug 04, 2016 6:39 am

What OS and CEF version?

Drag and drop using OSR must be implemented in the client. It should be implemented in cefclient on Windows and OS X.

How does the MDN example behave in Google Chrome?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Drag and drop (OSR)

Postby jegger » Fri Aug 05, 2016 9:47 am

I tested it on Linux and OSX.
I used the latest build of the CEF Spotify-builds (CEF 3.2743.1442.ge29124d)

The MDN example works in Google-chrome as expected. (dragStart, multiple dragOver, drop and dragEnd)

Any thoughts?

Thanks,
jegger
Newbie
 
Posts: 6
Joined: Fri Jun 07, 2013 8:08 am

Re: Drag and drop (OSR)

Postby jegger » Wed Aug 17, 2016 6:48 am

For simplecity I think it makes sense to just look at the non-OSR case.
I am really not sure if this is a bug or if more needs to be implemented to get all the drag-events in JS?

Can someone give me a hint in which cef-source files I should start looking into regarding this issue?

Thanks,
jegger
Newbie
 
Posts: 6
Joined: Fri Jun 07, 2013 8:08 am

Re: Drag and drop (OSR)

Postby Czarek » Thu Aug 18, 2016 3:18 am

Looks to me an issue in the tracker should be created *for the non-OSR case.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Drag and drop (OSR)

Postby jegger » Fri Aug 19, 2016 2:11 am

jegger
Newbie
 
Posts: 6
Joined: Fri Jun 07, 2013 8:08 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 32 guests

cron