Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for renaming a file dragged with contents.startDrag() #8063

Open
popod opened this issue Nov 23, 2016 · 5 comments
Open

Add option for renaming a file dragged with contents.startDrag() #8063

popod opened this issue Nov 23, 2016 · 5 comments

Comments

@popod
Copy link
Contributor

popod commented Nov 23, 2016

When use contents.startDrag(item), It would be great to allow us to change the name of the file dragged. This can be done by adding a "name" optional option to the item given to startDrag().

By exemple, if I drag a file named "localFileName.jpg" from my app to the desktop and that I will rename this file name to "realName.jpg"...

@popod popod changed the title Add optional name for file when contents.startDrag() Add option for renaming a file dragged with contents.startDrag() Nov 23, 2016
@quicksnap
Copy link
Contributor

Linking to #7118 as I may be able to work this in soon.

@popod
Copy link
Contributor Author

popod commented Feb 23, 2017

@quicksnap Any update on this ?

@quicksnap
Copy link
Contributor

@popod Re: #7118, I still haven't worked on it. The work involved in that ticket is probably 8 - 16 hours on my part, and I haven't been doing much work lately with the organization needing those changes.

@ranyunlong
Copy link

I need something like this,contents.startDrag({ name:filename, files:[value.path], icon: '' })

@codingedgar
Copy link

Is there any workaround for this atm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants