[browser] Can't download random files
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Bill Filler | ||
| | Ubuntu UX |
High
|
James Mulholland | ||
| | webbrowser-app (Ubuntu) |
High
|
Michael Sheldon | ||
| | webbrowser-app (Ubuntu RTM) |
High
|
Unassigned | ||
Bug Description
I am trying to download a foo.tar.xz file and the browser won't let me.
My use case:
* Wifi driver in laptop is broken
* Phone can download stuff
* Download driver, pass it via adb, mtp or some other way to laptop
* Be happy again
This is an hypothetic scenario but i have had this in the past.
UX specification: https:/
Related branches
- Olivier Tilloy: Approve on 2015-12-16
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-12-16
-
Diff: 3136 lines (+2222/-266)40 files modifieddebian/control (+0/-1)
debian/webbrowser-app-apparmor.manifest (+5/-2)
debian/webbrowser-app.install (+1/-0)
src/app/ContentDownloadDialog.qml (+0/-50)
src/app/ContentPickerDialog.qml (+0/-97)
src/app/ContentShareDialog.qml (+1/-1)
src/app/Downloader.qml (+17/-12)
src/app/FilePickerDialog.qml (+0/-45)
src/app/MimeTypeMapper.js (+20/-0)
src/app/Share.qml (+1/-1)
src/app/WebViewImpl.qml (+13/-13)
src/app/mime-database.cpp (+30/-0)
src/app/mime-database.h (+3/-0)
src/app/webbrowser/Browser.qml (+133/-24)
src/app/webbrowser/BrowserPageHeader.qml (+27/-12)
src/app/webbrowser/CMakeLists.txt (+6/-0)
src/app/webbrowser/ContentDownloadDialog.qml (+159/-0)
src/app/webbrowser/ContentHandler.qml (+35/-0)
src/app/webbrowser/ContentPickerDialog.qml (+110/-0)
src/app/webbrowser/DownloadDelegate.qml (+226/-0)
src/app/webbrowser/DownloadHandler.qml (+45/-0)
src/app/webbrowser/DownloadsModel.qml (+24/-0)
src/app/webbrowser/DownloadsPage.qml (+253/-0)
src/app/webbrowser/IndeterminateProgressBar.qml (+51/-0)
src/app/webbrowser/SettingsPage.qml (+4/-4)
src/app/webbrowser/downloads-model.cpp (+412/-0)
src/app/webbrowser/downloads-model.h (+110/-0)
src/app/webbrowser/webbrowser-app-content-hub.json (+5/-0)
src/app/webbrowser/webbrowser-app.cpp (+2/-0)
src/app/webcontainer/ContentDownloadDialog.qml (+67/-0)
src/app/webcontainer/ContentPickerDialog.qml (+96/-0)
src/app/webcontainer/WebViewImplOxide.qml (+25/-0)
tests/autopilot/webbrowser_app/emulators/browser.py (+37/-2)
tests/autopilot/webbrowser_app/tests/__init__.py (+9/-0)
tests/autopilot/webbrowser_app/tests/http_server.py (+12/-0)
tests/autopilot/webbrowser_app/tests/test_downloads.py (+77/-0)
tests/autopilot/webbrowser_app/tests/test_settings.py (+2/-2)
tests/unittests/CMakeLists.txt (+1/-0)
tests/unittests/downloads-model/CMakeLists.txt (+13/-0)
tests/unittests/downloads-model/tst_DownloadsModelTests.cpp (+190/-0)
| Olivier Tilloy (osomon) wrote : | #1 |
| Changed in webbrowser-app: | |
| status: | New → Triaged |
| Changed in webbrowser-app (Ubuntu): | |
| status: | New → Confirmed |
| Pat McGowan (pat-mcgowan) wrote : | #2 |
Why not just save it to Downloads and inform the user in addition "File will be saved to Downloads area"
The problem is there is no local UI to view or delete. If the browser grew a download viewer that would resolve it for me.
| Olivier Tilloy (osomon) wrote : | #3 |
That would require the browser to advertise itself as a content handler for any type of file, which as a consequence would also show it as a handler when trying to download a file from another application.
In any case we’ll need design guidance, adding an ubuntu-ux task.
| Changed in webbrowser-app (Ubuntu): | |
| importance: | Undecided → High |
| summary: |
- Can't download random files + [browser] Can't download random files |
We will have a downloads folder for the browser post-rtm. It will be available through the content-hub.
Design is already completed.
| Changed in ubuntu-ux: | |
| assignee: | nobody → Giorgio Venturi (giorgio-venturi) |
| importance: | Undecided → Medium |
| importance: | Medium → Wishlist |
| status: | New → Fix Committed |
| Jean-Baptiste Lallement (jibel) wrote : | #5 |
This affects downloading zip files from 7Digital which is one of the main music provider in the music scope. So user purchases music and cannot download it.
| tags: | added: beta qa-daily-testing |
| Pat McGowan (pat-mcgowan) wrote : | #6 |
That specific use case is being supported per bug 1365993
This bug is for files that cannot really be used on the device
| tags: | removed: beta qa-daily-testing |
| tags: | added: design-gap |
| Changed in webbrowser-app: | |
| importance: | Undecided → Low |
| tags: | added: usability |
| Changed in ubuntu-ux: | |
| assignee: | Giorgio Venturi (giorgio-venturi) → James Mulholland (jamesjosephmulholland) |
| Changed in webbrowser-app (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | High → Low |
| importance: | Low → High |
| no longer affects: | webbrowser-app |
| Changed in webbrowser-app (Ubuntu): | |
| assignee: | nobody → Olivier Tilloy (osomon) |
| Pat McGowan (pat-mcgowan) wrote : | #7 |
Can we fit this in for the next ota?
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| importance: | Undecided → High |
| milestone: | none → ww28-2015 |
| status: | New → Confirmed |
| description: | updated |
| Changed in canonical-devices-system-image: | |
| milestone: | ww28-2015 → ww34-2015 |
| TenLeftFingers (tenleftfingers) wrote : | #8 |
I think this is the same issue so I'll add it here. Please let me know if I should file a separate bug:
Avi does not work at all because the browser asks which app to open with, but only suggests the Gallery app. It then downloads the .avi to .cache/
The Gallery app doesn't show the movie afterwards so it is inaccessible and difficult to delete unless you know how to use the terminal.
| Olivier Tilloy (osomon) wrote : | #9 |
@TenLeftFingers: this is related indeed. Although the fact that the gallery app doesn’t show the file afterwards seems to be a bug in the gallery app itself (or maybe an unsupported codec?). Feel free to file a bug at https:/
| lepidas blades rompolos (lepidas) wrote : | #10 |
I tested wget and can download a .png for example
| Changed in canonical-devices-system-image: | |
| milestone: | ww34-2015 → ww40-2015 |
| Changed in webbrowser-app (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| Changed in canonical-devices-system-image: | |
| milestone: | ww40-2015 → ww46-2015 |
| Changed in canonical-devices-system-image: | |
| milestone: | ww46-2015 → ww02-2016 |
| Changed in webbrowser-app (Ubuntu): | |
| assignee: | Olivier Tilloy (osomon) → Michael Sheldon (michael-sheldon) |
| Timo Jyrinki (timo-jyrinki) wrote : | #11 |
webbrowser-app (0.23+15.
[ Michael Sheldon ]
* Add support for handling downloads internally within the browser.
(LP: #1354391)
-- CI Train Bot <email address hidden> Mon, 21 Dec 2015 20:39:36 +0000
| Changed in webbrowser-app (Ubuntu RTM): | |
| importance: | Undecided → High |
| status: | New → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package webbrowser-app - 0.23+16.
---------------
webbrowser-app (0.23+16.
[ Michael Sheldon ]
* Add support for handling downloads internally within the browser.
(LP: #1354391)
-- CI Train Bot <email address hidden> Mon, 21 Dec 2015 20:39:36 +0000
| Changed in webbrowser-app (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |
| Changed in ubuntu-ux: | |
| status: | Fix Committed → Fix Released |
| Changed in ubuntu-ux: | |
| importance: | Wishlist → High |


To elaborate a bit more on what happens: when trying to download a file that no installed application knows how to handle, the user is presented with a message from the content hub saying exactly that, and a cancel button. The user is not allowed to download a random file with no associated application.
I don’t know what the proper solution to this problem is. Maybe make the file manager app able to handle any file type by default?