Red Hat Bugzilla – Bug 862269
RFE: Save originating uri for downloaded files
Last modified: 2013-04-22 09:22:39 EDT
It would be nice if firefox could save the original uri for downloaded files.
This is pretty easy to do with GIO using gvfs metadata. I implemented this in
Its a pretty trivial patch, so it should be easy to add to firefox too.
We want to use this to e.g. show the original location in the download directory in nautilus.
We're going to track this issue on upstream:
FYI patch seems to introduce some regression, looks like g_file_set_attribute is blocking execution somehow:
(In reply to comment #2)
> FYI patch seems to introduce some regression, looks like
> g_file_set_attribute is blocking execution somehow:
It seems you're calling g_file_set_attribute() which is a synchronous call. Better to use g_file_set_attributes_async() instead.