Drag&Drop Linux 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&Drop Linux OSR

Postby jegger » Mon Aug 29, 2016 1:48 am

I would like to know what has to be done to implement drag&drop (inside the browser, no files dragged on / out of the browser) in OSR on Linux.
I see that it is implemented in cefclient on Windows/Mac. Why was it not implemented along with the win/mac support? Is there an issue?

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

Re: Drag&Drop Linux OSR

Postby magreenblatt » Mon Aug 29, 2016 3:12 am

You can implement it on Linux using the Mac/Win version as a reference.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Drag&Drop Linux OSR

Postby Czarek » Mon Aug 29, 2016 11:23 am

Marshall,

I would like to work on a patch to add this functionality in cefclient - to implement dragging, but only inside browser. Would you accept such pull request? As I wouldn't be implementing dragging of OS objects (files, urls, etc), I assume there would be no need to create new unit tests?

For reference here is the commit that added osr d&d support in branch 1916:
https://bitbucket.org/chromiumembedded/ ... 13?at=1916

In master branch it was commited a few weeks later. I haven't taken a closer look yet whether it differs much from what was commited in branch 1916, as it also includes lots of other changes:
https://bitbucket.org/chromiumembedded/ ... ?at=master
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&Drop Linux OSR

Postby magreenblatt » Mon Aug 29, 2016 11:46 am

A PR to add d&d support for cefclient on Linux would be accepted under the usual constraints.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 50 guests