Browser does not respond to Qt.openUrlExternally(link)
Bug #1186556 reported by
Jono Bacon
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtubuntu (Ubuntu) |
Fix Released
|
Critical
|
Albert Astals Cid |
Bug Description
I am not sure if this bug is part of the web browser or part of the SDK, but I have an app that has the following line of code:
onClicked: Qt.openUrlExter
When running on the desktop, the app correctly loads the link in the default system web browser. This does not happen on the phone: when the item is clicked (tapped) there is no response (other than the ListItem depressing).
Related branches
lp://qastaging/~aacid/qtubuntu/qtubunturl
- Loïc Minier: Approve
- Thomas Voß (community): Abstain
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 151 lines (+87/-1)5 files modifiedsrc/platforms/base/base.pro (+2/-0)
src/platforms/base/integration.cc (+3/-1)
src/platforms/base/integration.h (+2/-0)
src/platforms/base/platformservices.cc (+50/-0)
src/platforms/base/platformservices.h (+30/-0)
summary: |
- Browser does not respond to Qt.resolvedUrl + Browser does not respond to Qt.openUrlExternally(link) |
Changed in qtubuntu: | |
importance: | Undecided → Critical |
Changed in qtubuntu: | |
status: | Confirmed → In Progress |
assignee: | nobody → Albert Astals Cid (aacid) |
Changed in qtubuntu: | |
status: | Fix Committed → Fix Released |
Changed in qtubuntu (Ubuntu): | |
assignee: | nobody → Albert Astals Cid (aacid) |
importance: | Undecided → Critical |
no longer affects: | qtubuntu |
To post a comment you must log in.
Qt.openUrlExter nally(… ) relies on QDesktopService s::openUrl( …), which in turn relies on the QPlatformServices instance exposed by the platform plugin (in that case qtubuntu).
As far as I can tell, qtubuntu doesn’t expose any QPlatformServices related functions, so this would have to be implemented there.