use target="_blank" to open links in the browser

Bug #1433525 reported by David Barth on 2015-03-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu HTML5 UI SDK
Medium
Alexandre Abreu
Ubuntu Help App
High
Daniel Holbach

Bug Description

From an HTML5 app, there should be a way to open links in the default browser application. Similar to what the QML app counterparts do.

Related branches

David Barth (dbarth) on 2015-03-18
Changed in ubuntu-html5-theme:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Alexandre Abreu (abreu-alexandre)
David Planella (dpm) wrote :

Indeed, the big issue here is that if you open a link in your html5 app it does open that link, but inside the container, leaving you no way to then go back to your app.

description: updated
Changed in help-app:
importance: Undecided → High
status: New → Triaged

Could you provide more information on where it fails? It has been fixed for some time now in RTM and Vivid. I tested and managed to make it work on krillin/mako/desktop (V),

All you have to do is mark the header w/ a target="_blank" as you would w/ any link is that to be treated w/ a "open in an external view" hint,

David Planella (dpm) wrote :

So I can confirm that adding target="_blank" (which is the part I didn't know about) then opens a new browser on the phone, on RTM, so feel free to mark as resolved.

Note that on utopic (desktop) that does not work, but I'm not sure if that's much of an issue.

David Barth (dbarth) on 2015-03-19
Changed in ubuntu-html5-theme:
status: Triaged → Fix Released
summary: - [html5 container] should provide a way to open links in the browser
+ use target="_blank" to open links in the browser
Changed in help-app:
status: Triaged → In Progress
assignee: nobody → Daniel Holbach (dholbach)
Changed in help-app:
milestone: none → 0.3

Fix committed into lp:help-app at revision 135, scheduled for release in help-app, milestone backlog

Changed in help-app:
status: In Progress → Fix Committed
Changed in help-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers