Open Bug 1025467 Opened 10 years ago Updated 2 years ago

Support for remote file upload on Linux through GTK file chooser

Categories

(Firefox :: Shell Integration, enhancement)

30 Branch
All
Linux
enhancement

Tracking

()

People

(Reporter: quidam, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140611075517

Steps to reproduce:

1. Click here in the bug tracker on the "Browse" button to attach a file
2. Assuming you are using GTK, the GTK file chooser will open.
3. In the location field paste an URL to a picture from the web


Actual results:

On Windows the photo gets uploaded and attached from the remote URL


Expected results:

There is already support for this feature by the GTK file chooser. It just needs to be enabled in Mozilla Firefox.

This has been supported by the file chooser for quite a while:

https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#gtk-file-chooser-set-local-only

But it is up to the individual applications to make use of it, either by implementing support for the URI scheme itself or by using gio/gvfs. You can try it for example with gedit:

    click on "open"
    press ctrl+l
    enter "http://www.reddit.com/r/linux/comments/26ilpv/would_you_like_to_see_support_for_remote_file" (no quotes, no trailing slash)

That should give you the html code of this reddit thread.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Untriaged → Shell Integration
Ever confirmed: true
Hardware: x86_64 → All
Can someone grace this bug with an informative response please?

At least as of FF57, GVFS locations seem to be supported just fine when directly entered, and this appears to use GIO, since a location that requires authentication that's previously been completed outside of Firefox, subsequently loads without issue in the browser (e.g. entering sftp://username@some-host-requiring-auth/path/to/file shows the document).

Is this missing feature:

* Just not flagged in the chooser call?
* Blocked by something else?
* ???

Also, I'd suggest re-titling the bug since it applies to opening files as well, not just uploading them.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.