[Gmail] can't switch to another account
Bug #1324848 reported by
David Barth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Webapps-core project |
Fix Released
|
High
|
David Barth | ||
URL Dispatcher |
Incomplete
|
High
|
Unassigned | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using the Gmail webapp it is currently impossible to switch to another account.
To reproduce:
- login in Gmail with your user account
- go to the left hand side menu button
- select the user account button at the top; you should see an Accounts dialog to switch users
- select 'Sign into another account...,"
Expected result: you go to the account signon page
Actual result: nothing happens.
Related branches
lp:~dbarth/webbrowser-app/fix-gmail-account-switching
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 326 lines (+156/-14)10 files modifiedsrc/app/webcontainer/CMakeLists.txt (+1/-0)
src/app/webcontainer/WebApp.qml (+1/-0)
src/app/webcontainer/WebViewImplOxide.qml (+34/-12)
src/app/webcontainer/WebViewImplWebkit.qml (+1/-0)
src/app/webcontainer/WebappContainerWebview.qml (+3/-1)
src/app/webcontainer/webapp-container-helper.cpp (+52/-0)
src/app/webcontainer/webapp-container-helper.h (+43/-0)
src/app/webcontainer/webapp-container.cpp (+13/-1)
src/app/webcontainer/webapp-container.h (+5/-0)
src/app/webcontainer/webapp-container.qml (+3/-0)
tags: | added: webapps-hotlist |
Changed in webapps-core: | |
status: | New → Confirmed |
importance: | Undecided → High |
affects: | urldispatcher → url-dispatcher |
Changed in webapps-core: | |
status: | Confirmed → In Progress |
assignee: | nobody → David Barth (dbarth) |
Changed in url-dispatcher: | |
assignee: | Ted Gould (ted) → nobody |
To post a comment you must log in.
Further investigations reveal this error in the logs:
Opening: popup window https:/ /accounts. google. com/AddSession? hl=en&service= mail&continue= https:/ /mail.google. com/mail/ mu/mp/100/ ?login% 3D1 in the browser window. ERROR:browser_ main_loop. cc(240) ] <unknown>: Unable to dispatch url 'https:/ /accounts. google. com/AddSession? hl=en&service= mail&continue= https:/ /mail.google. com/mail/ mu/mp/100/ ?login% 3D1':GDBus. Error:com. canonical. URLDispatcher. BadURL: URL 'https:/ /accounts. google. com/AddSession? hl=en&service= mail&continue= https:/ /mail.google. com/mail/ mu/mp/100/ ?login% 3D1' is not handleable by the URL Dispatcher
[0530/095138:
There are 2 issues here: url_dispatcher should be able to dispatch the link. But in the first place, the popup should open in the webapp container, since it is still part of the valid URL patterns.