Open
Bug 1139577
Opened 9 years ago
Updated 2 years ago
Support download 'hand-off'
Categories
(Firefox for iOS :: General, defect)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
fxios | + | --- |
People
(Reporter: aaronmt, Unassigned)
References
()
Details
(Whiteboard: drop?)
Attachments
(3 files)
Visit http://people.mozilla.org/~atrain/mobile/tests/test.zip Nothing happens Expected: Show the file and file-size and an 'Open In' button (see Safari) Actual: Nothing happens People download files browsers including Safari, we have to do something other than displaying nothing.
Reporter | ||
Updated•9 years ago
|
Summary: Support download hand-off → Support download 'hand-off'
Reporter | ||
Updated•9 years ago
|
Attachment #8572825 -
Attachment description: Screen Shot 2015-03-04 at 3.12.11 PM.png → Safari screenshot
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
Looks like Chrome supports downloads all-together
Comment 2•9 years ago
|
||
I think Chrome just calls it downloads... it animates the file downloading and then presents the standard Open In... dialog (I suppose pre-downloading the file like that is nice?) Good catch though Aaron!
Updated•9 years ago
|
tracking-fennec: ? → +
Comment 3•9 years ago
|
||
Some browsers do in fact have a stash for putting downloads (Mercury Browser, for instance, does this). But IMHO handing them off to an appropriate app, if one exists, makes more sense.
Comment 4•9 years ago
|
||
This isn't ready for review yet. Just putting it up for any feedback. This uses our SnackBars as a way to show downloads: 1.) We prompt for saving with a snackbar. If you select "Download", we 2.) use a different snackbar to show download progress. When its done, we 3.) use a third one to ask if you want to open it. Opening will (always) have options like Mail or Message so you can send the file to someone. Some other apps (IRCCloud for me) also appear as I have it now. video at https://dl.dropboxusercontent.com/u/72157/Downloads1.mov This also makes it so that you can get to it downloaded files through iTunes File Sharing.
Comment 5•9 years ago
|
||
Comment on attachment 8588178 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/304 Working pretty well now. Updated snackbars to behave a little more like Android super toasts (button on the right) when there's only one button. Also using constraints better so the animations are smoother.
Attachment #8588178 -
Flags: review?(sarentz)
Comment 6•9 years ago
|
||
Comment on attachment 8588178 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/304 Wes can you please rebase this one before I look at it?
Comment 7•9 years ago
|
||
Weird, the commits in this PR make no sense. Can you double check if this PR is correct?
Comment 8•9 years ago
|
||
Grr. I rebased but then used commit --ammend which shoved my patch on top of head. I split things out a lot more here. My git patch-splitting skills are still... growing, so I see a few things still in the wrong place here (DownloadManager.swift is added to the project in the progress bar patch for example), and a few things that could be split up more. Hopefully its more readable though...
Comment 9•9 years ago
|
||
I added in a beginBackgroundTask request commit here as well. That should keep us alive in the background for a bit longer (until the download is finished).
Comment 11•9 years ago
|
||
Also, I should note that these downloads are stored in a different place than our normal profile. Our normal profile isn't easily exposed in iTunes as downloadable (not to say there aren't other things that will back it up or expose it, but it doesn't show up here). I think I need to move these to a special "Downloads" folder so that its easy to cleanup/delete-them-all at times though.
Comment 12•9 years ago
|
||
Talked to mfinkle about this a bit (and general worry about a new feature being added). If we punt on this, I think we at least need to show something on these types of links. An error page or a snackbar to say "Can't open this".
Whiteboard: drop?
Updated•9 years ago
|
tracking-fennec: + → -
Comment 13•9 years ago
|
||
Clearing needinfo because we are moving this to v1.1.
Comment 14•9 years ago
|
||
Comment on attachment 8588178 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/304 Clearing review request because we are moving this to v1.1.
Flags: needinfo?(sarentz)
Attachment #8588178 -
Flags: review?(sarentz)
Reporter | ||
Comment 15•9 years ago
|
||
Visit http://people.mozilla.org/~atrain/mobile/tests/test.zip (Content-Type: application/zip), we open the zip in the browser, potentially blowing bandwidth on a larger file for example. Expected to see an error if we won't hand off like Safari; please investigate bug 1159380 for 1.0
Reporter | ||
Comment 16•9 years ago
|
||
"Open in Safari" does not work https://bugzilla.mozilla.org/show_bug.cgi?id=1172958
Reporter | ||
Comment 17•9 years ago
|
||
Because we have a string ".... we're working on it".
tracking-fennec: ? → ---
Reporter | ||
Updated•9 years ago
|
tracking-fxios:
--- → ?
Comment 18•9 years ago
|
||
Let's create a feature card and add to our roadmap for future planning
Updated•9 years ago
|
Updated•8 years ago
|
Hardware: ARM → All
Updated•8 years ago
|
Rank: 5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•