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

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 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 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 at 12:54
  • Not working for me any more :( – Lobon Feb 22 at 15:57
  • Thanks for the workaround, however I think it is still an issue with Firefox – Carlos 2 days ago

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...

  • That works for me too (your first paragraph). Thanks gpothier! – Lobon Mar 4 at 4:44

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?

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.