Expose 'unsupportedContent' and 'downloadRequested' style signals

Bug #1282063 reported by Michael Sheldon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Oxide
Fix Released
High
Alexandre Abreu
webbrowser-app
Fix Released
High
Alexandre Abreu

Bug Description

QWebView features an "unsupportedContent" signal which gets sent when content is accessed that the browser can't render itself, this is useful for triggering download actions (unfortunately it's not actually exposed via QML at the moment). Similar functionality would be useful in Oxide to support the content hub integration, so we can trigger sharing to other relevant applications.

In addition to this there's also a "downloadRequested" signal which indicates that the user has explicitly requested the download of a particular URL (e.g. saving an HTML page or an image). I suspect this will be more involved as there'd also need to be a way to actually make these requests in the UI.

Tags: rtm14

Related branches

Changed in oxide:
importance: Undecided → High
status: New → Triaged
Bill Filler (bfiller)
Changed in webbrowser-app:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

After a bit of further work it looks like the "downloadRequested" signal probably isn't necessary (at least from the perspective of the webbrowser-app), as this can be handled purely within QML from the context actions. So only "unssportedContent" is needed for file types that the browser can't display natively.

Changed in oxide:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
Changed in webbrowser-app:
assignee: Olivier Tilloy (osomon) → Alexandre Abreu (abreu-alexandre)
Changed in oxide:
status: Triaged → In Progress
Changed in webbrowser-app:
status: Triaged → In Progress
Bill Filler (bfiller)
tags: added: rtm14
Changed in oxide:
milestone: none → branch-1.1
Bill Filler (bfiller)
Changed in webbrowser-app:
milestone: none → feature-freeze
Changed in oxide:
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.