Multiitems drag out of browser window

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Multiitems drag out of browser window

Postby skuma » Mon Nov 23, 2020 7:41 am

In current CEF version we can drag out only single element using
event.dataTransfer.setData("DownloadURL", 'application/octet-stream:' + desiredFilename + ':' + blobURL);
Is there any plan to support multi item drag out of browser window.
skuma
Newbie
 
Posts: 3
Joined: Mon Nov 23, 2020 7:35 am

Re: Multiitems drag out of browser window

Postby magreenblatt » Mon Nov 23, 2020 12:20 pm

Try searching the internet for "dragging and dropping multiple items with JavaScript"
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Multiitems drag out of browser window

Postby skuma » Tue Nov 24, 2020 2:30 am

magreenblatt wrote:Try searching the internet for "dragging and dropping multiple items with JavaScript"

This is supported in mozila, there is no way to do this in chrome. I want to drag out multiple files out of browser window and want to drop in local file system and on drop, copy of those items should be created from the given path.
skuma
Newbie
 
Posts: 3
Joined: Mon Nov 23, 2020 7:35 am

Re: Multiitems drag out of browser window

Postby magreenblatt » Tue Nov 24, 2020 1:35 pm

Agreed, it does not appear to be supported in Chromium. CEF is based on Chromium, so it is not supported in CEF. I don't know if/when support will be added to Chromium.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Multiitems drag out of browser window

Postby skuma » Wed Nov 25, 2020 6:07 am

magreenblatt wrote:Agreed, it does not appear to be supported in Chromium. CEF is based on Chromium, so it is not supported in CEF. I don't know if/when support will be added to Chromium.

Thanks for revert.
How can we raise this feature request formally?
Can we hook OS drag n drop APIs (forex. NSDraggingSource in case of mac) somewhere in cefclient like in onDragEnter.
When we drop an item into local file system can we get a callback in our cef app?
skuma
Newbie
 
Posts: 3
Joined: Mon Nov 23, 2020 7:35 am

Re: Multiitems drag out of browser window

Postby magreenblatt » Wed Nov 25, 2020 10:26 am

You can raise the request at https://crbug.com/new. You will need to write it in a way that makes sense for Google Chrome.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 15 guests