Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Can't drag & drop files from desktop to browser (i.e. Google Drive)

  1. #1
    Join Date
    Apr 2014
    Beans
    92

    Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Hi, I'm using Lubuntu 20.04.6.

    Recently (like in the past month) I've notice that I can no longer drag files from the desktop into my browser. When I do so, the mouse pointer just shows a red "NO" symbol (red circle with diagonal line through it).
    This happens when I try to drag and drop a file into Google Drive, MicroSoft OneDrive, or attach files to a web-based e-mail I'm composing (i.e. G-mail, Yahoo mail).

    I'm not sure what "broke" this functionality.

    I've tried clearing my browser cache and rebooting. I've tried Incognito mode (private browsing mode) with no luck.

    My web-browser is Firefox.

    Does anyone have a clue what is preventing this from working?

    Thanks.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Is firefox a snap package on your system? If so, it runs with forced constraints and only specifically allowed programs are allowed to interface with it. In the snap world, they call them "connections".

    That's my guess, but I don't **know** that's the issue. I don't work in that way.

    Years ago, most of the major browsers decided that we shouldn't be allowed to open HTML files stored on our desktops. They said it was a security feature to prevent some nasty things, which is probably true. This was before Canoncial decided to start pushing snap packages.

    I don't use Lubuntu and I don't know which firefox it has on 20.04. I do run 20.04, but I use Firefox-ESR which comes from a mozilla PPA. This is my way to avoid snaps. Some of my workflows require a few different programs to work together that the snap people never considered. After all, if we wanted to be forced to work in only 1 way, then we'd run MacOS, right?

    If you don't have a snap version of firefox installed, then it can't be the snap constraints. It might be a default setting that you'll need to find inside about:config. Google found this: https://kb.mozillazine.org/Links_to_...es_do_not_work

  3. #3
    Join Date
    Apr 2014
    Beans
    92

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Okay...I checked and it doesn't appear that my Installation of FireFox is a snap package.

    Furthermore, I installed the Chromium web browser, to see if it would have the same problem. The only version available to me was in a Snap package, so I installed it.
    Chromium (Snap) does work fine with drag and drop from desktop into browser (tested in Google Drive).

    So this appears to be a problem with Firefox, but as I said it only appeared in the past month. I'm not sure what changed!

    Does anyone have an idea?

    Thanks.

  4. #4
    Join Date
    Apr 2014
    Beans
    92

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Update:

    I tried:

    - Completely uninstalling FireFox, including preferences folder.
    - Tried reinstalling via the snap package, and also the non-snap way.
    - Tried starting Firefox in Troubleshooting (i.e. safe) mode.

    Nothing fixed the issue.

    Chromium installed as a Snap package, however, continues to work fine fro drag & drop.

    Brent

  5. #5
    currentshaft Guest

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    What happens if you try opening the file in Firefox - put "file:///home/" in the address bar and find it.

  6. #6
    Join Date
    Apr 2014
    Beans
    92

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Quote Originally Posted by currentshaft View Post
    What happens if you try opening the file in Firefox - put "file:///home/" in the address bar and find it.
    That method works. i.e. If I right click a pdf on my desktop and choose "open with Firefox" it loads up in Firefox.
    However, when I try and drag the pdf from my desktop into the Firefox window I get the red circle with a slash through beside my mouse pointer.

    Unfortunately, for online services like Google Drive, the only way to upload files is to drag them from the desktop into the browser.

  7. #7
    currentshaft Guest

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Can you open about:support in Firefox and see what it says under Window Protocol?
    Last edited by Irihapeti; September 3rd, 2024 at 01:28 PM. Reason: Restored original content

  8. #8
    Join Date
    Sep 2007
    Beans
    Hidden!
    Distro
    Ubuntu Mate 24.04 Noble Numbat

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    I'm running FF installed through Ubuntuzilla ppa and have no issues dragging and dropping files into the browser.I'm using Ubuntu Mate 22.04 but that shouldn't make a difference when it comes to that particular function.
    UP THE IRONS!

  9. #9
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Is any sand-boxing tools in play here? (firejail is one)

    Something like this will show us what you have now:
    Code:
    apt policy firefox
    firefox:
      Installed: 128.0.3~build1
      Candidate: 128.0.3~build1
      Version table:
         1:1snap1-0ubuntu6 500
            500 http://us.archive.ubuntu.com/ubuntu oracular/main amd64 Packages
     *** 128.0.3~build1 1000
           1000 https://packages.mozilla.org/apt mozilla/main amd64 Packages
            100 /var/lib/dpkg/status
    Last edited by #&thj^%; July 31st, 2024 at 06:44 PM.

  10. #10
    Join Date
    Jun 2016
    Beans
    2,939
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Can't drag & drop files from desktop to browser (i.e. Google Drive)

    Quote Originally Posted by Brent_Santin View Post
    Okay...I checked and it doesn't appear that my Installation of FireFox is a snap package.
    What type of installation is it (deb from Mozilla, deb from mozillateam PPA, tarball downloaded from Mozilla, flatpak,...)?

    Quote Originally Posted by Brent_Santin View Post
    If I right click a pdf on my desktop and choose "open with Firefox" it loads up in Firefox.
    That is not the same as going to file:///home/ in Firefox and clicking within Firefox from there to locate and open the file.

    If you've opened the file with right-click > "Open with Firefox" in the current browser session, completely quit Firefox and start it new (not opening the file) before trying this troubleshooting test.
    Last edited by halogen2; July 31st, 2024 at 06:29 PM.
    Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
    If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •