FluentTerminal
FluentTerminal copied to clipboard
Can't drag and drop files to insert a path
I was trying to run a program, using a filename as an argument. I tried to drag/drop the file into the window to insert the path+filename. This didn't do anything.
I looked at this a while ago. Problem is that the UWP WebView is not acting like a real control for drop events, and when handling it in JavaScript I only received the filename, but not a complete path. Maybe adding the broadFileSystemAccess capability changes this, but I haven't tried it.
It would also have to understand whether or not you're using WSL or some windows command line to insert the proper path.
Hans Kokx On October 22, 2018 4:33:44 PM Felix [email protected] wrote:
I looked at this a while ago. Problem is that the UWP WebView is not acting like a real control for drop events, and when handling it in JavaScript I only received the filename, but not a complete path. Maybe adding the broadFileSystemAccess capability changes this, but I haven't tried it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@felixse I have an idea, adding a transparent control above WebView to receive drop events and changing its Visibility according to Window.Current.Activated
.
@RikkaW interesting idea, I will definetively try this 👍
I would be really happy about this addition, as I use it constantly on Linux. Would it be possible to have a copy/paste feature [as well/at least]?
so when will you do it.
Big up for this!