There seems to be no no convenient possibility at the moment (May 2018. Ubuntu 18.04)! Although the issue is known for a long time, see github-comment from 2015!
But at least there are two ways of one inconvenient possibility (see comment below):
- Left-click on the file, hold it, press the keys alt and press as many times the key tab to navigate to the window you want to drag the file to (while still holding the left-click), release alt when the right application window is chosen and drag the file to the desired place to drop. (This is difficult on a laptop while using the touch pad, though, easier with a mouse.)
- If you click on alt & tab and hold alt (as well as the left-click on the file, the overview of all opened windows/apps will open and you can move the cursor over the appropriate window and finally release the file there when the windows is opened (Thanks fcole90).
With Nautilus, it looks like this only works if the files are in list view not icon view!
For some it works without the keyboard, but just the mouse or touchpad or whatever you use to move your cursor. You drag the element to the bar, this triggers the overview window, you then drag the item to the window you want, then the window get focus, finally release your item.
Kyriakos Loizou suggests the same behaviour but with left-click on the file [I have to drag the file to the Dash to Dock] and then click & hold the super (while still holding the left-click). This triggers the overview window, you then drag the item to the window you want, then the window get focus, finally release your item.
There is also a bugzilla-report. Maybe we can all subscribe to this thread and the github-thread to show the need for it. There has been some activity in the github-thread, please contribute or comment with your reaction (smiley, thumb up, ...). I think this feature is crucial for Ubuntu 18.04 and without it a real pain.
Hopefully someone with knowledge and skills will look into this and help to find a more convenient way.