10

Drag and drop files not working in ubuntu 18.04 and Mozilla Firefox.

I trap the file, drag it to the mail box (drop your file here) and nothing happens (The image of the file returns to its original place. Sometimes the "drop your file here" gmail box remains frozen) The file never is attached.

  • Hi That doesn't help – Lobon Dec 13 '18 at 3:15
  • Same problem here, Firefox 63.0.3, Manjaro KDE – Carlos Dec 18 '18 at 14:32
  • @Carlos How are you dragging the file, i.e. Clicking and dragging with one finger or holding and dragging with two fingers (if using touchpad of laptop) or with mouse? – Kulfy Dec 19 '18 at 10:13
  • Hi! The problem is with the desktop version of Firefox using either the touchpad or the mouse. May be this video can help to describe the issue: youtu.be/2tmBIvW0Gp0 Thanks! – Carlos Dec 20 '18 at 13:38
  • That video is exactly what happens to me! – Lobon Dec 20 '18 at 19:13
5

It happens to me too, only in Gmail, weird that it doesn't happen in Google Drive.

A workaround I just found is to make a fast return to the window from I'm getting the file while dragging to a Gmail's message, then drop the file in the Gmail's message area and it will be attached as expected. Look at this video.

  • It is not working for me anymore. Is it for you? – Kevin Zarca Feb 4 '19 at 11:35
  • It works better with one file, multiple files require a lot of "gaming" with the drag and drop movements... Now, when I need to attach multiple files, I'm working around this using the Attach to Thunderbird service menu for Dolphin. – leoperbo Feb 5 '19 at 19:36
  • 1
    This workaround works for me, but only if I "jump" directly from my folder to the Gmail window. If the file "flies over" another window, the problem will be the same. – Raphaël Titol Feb 12 '19 at 12:54
  • Not working for me any more :( – Lobon Feb 22 '19 at 15:57
  • 1
    I don't think it's an issue with Firefox because the only site where it occurs is in GMail, not even in Google Drive, so, it have to be an issue with GMail which may be is not compliant with drag and drop on web standars. – leoperbo Mar 21 '19 at 2:05
3

Here is what works for me: while holding the mouse button down, drag the cursor into the compose pane, then outside the Firefox window, and then reenter slowly from the bottom part of the compose pane. Once the cursor turns into a hand with a "+" sign, you can drop the file(s). This way it works 99% of the time.

It usually doesn't work if you reenter from the sides, or from above, or from the bottom part of the window but outside the compose pane.

You can also try directly entering the Firefox window from the bottom of the compose pane without doing the exit/enter voodoo mentioned above, but it works maybe 50% of the time.

Super weird, I know...

  • 1
    That works for me too (your first paragraph). Thanks gpothier! – Lobon Mar 4 '19 at 4:44
  • This works really well. Changed my life back to normal after months of disruption. – user334639 Mar 26 '19 at 1:42
0

The solution to me is to click on the "Attach files" button, and drop the file(s) in the file selection window that opens. This always works.

Strange that this bug is around for more than a year, and no solution in sight. Is Google sabotaging Linux too?

  • same issue on windows, although in my case it was that you cannot drag and drop any files from Windows Explorer into an application that is opened as Administrator (I was running Firefox in that mode) – kkarakk May 2 '19 at 10:34
  • @kkarakk Since in Linux the problem is only in GMail, I wouldn't say it's the same problem. – Rodrigo May 2 '19 at 14:10
  • it happens for me in both gmail and drive in linux and windows and is fixed when i disable admin mode/change permissions on firefox using chmod, i suspect it's a permissions issue by programs launching other programs with elevated permissions(for eg it was vscode doing it in my case) – kkarakk May 3 '19 at 6:19
  • @kkarakk I open Firefox myself, and don't use Google Drive. – Rodrigo May 3 '19 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.