GMail does not support multiple accounts in the same browser

Bug #940476 reported by Jono Bacon
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
WebApps: Applications Data
Triaged
Medium
Maxim Ermilov
WebApps: libunity-webapps
Confirmed
Medium
Alex Launi
0.99
New
Undecided
Unassigned
WebApps: unity-firefox-extension
Triaged
Medium
Robert Carr

Bug Description

With GMail's Switch Accounts feature, it is not uncommon to have multiple GMail accounts open in the same window (as an example, I have three accounts open). When I have this extension running I only see one of the accounts in my messaging menu.

Robert Carr (robertcarr)
Changed in unity-firefox-extension:
status: New → Confirmed
assignee: nobody → Robert Carr (robertcarr)
importance: Undecided → Medium
Revision history for this message
Robert Carr (robertcarr) wrote :

Added webapps-applications, don't worry about it for now Maxim but you may be getting some new API soon :)

Changed in libunity-webapps:
importance: Undecided → Medium
assignee: nobody → Robert Carr (robertcarr)
Robert Carr (robertcarr)
Changed in libunity-webapps:
status: New → Confirmed
Changed in unity-firefox-extension:
status: Confirmed → Triaged
Changed in webapps-applications:
status: New → Triaged
assignee: nobody → Maxim Ermilov (zaspire)
importance: Undecided → Medium
Revision history for this message
Maxim Ermilov (zaspire) wrote :

It requires integration with web credentials (for launcher).

Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :

Maxim: Accounts have different URL's that I think aren't correctly supported by the script:

https://mail.google.com/mail/u/0/#inbox (fisrt account, "0")
https://mail.google.com/mail/u/1/?shva=1#inbox (second account, "1")

Revision history for this message
Robert Carr (robertcarr) wrote :

I would like to fix this in just the Messaging Indicator at least with some sort of Unity.setAccount API, and grouping in to different indicate servers. Unfortunately the .desktop file is used as the primary key everywhere for the indicator, and to extract the server label from....so to do this we will have to generate a bunch of extra .desktop files...I suppose if we do it in a temporary location it's not so horrible. If no one has any objections I will probably take a shot at this today or tomorrow, already have the setAccount API in a branch, just need to refactor the .desktop file generation.

Revision history for this message
Robert Carr (robertcarr) wrote :

All the .desktop file stuff is a little nicer now (through the UnityApplicationInfoInterface)...so it will be possible to implement this now. Probably best to do the indicator model improvements first. I don't feel that this is particularly high priority though.

This weeks release is focused on big bugs, for our next round of testing.

Will target indicator improvements for next release, and then this should be a pretty easy addition on top of that for the release after that.

Maxim Ermilov (zaspire)
visibility: private → public
Revision history for this message
Jacob Winski (winski) wrote :

This bug still exists in now released Ubuntu 12.10. If I add any Google account except the first one (numbered 0) to Webapps, launching the webapp just ignores the account number which gives a Google error. The issue is still what comment #3 mentioned:
https://mail.google.com/mail/u/0/ (fisrt account, "0")
https://mail.google.com/mail/u/1/ (second account, "1")

No matter which account is used to create the webapp with, the webapp itself is only able to use the default (which is equivalent to /u/0/).

This also happens with Google+, Calendar, etc. since they all use the same /u/<number>/ format, ie:
https://plus.google.com/u/2/

Revision history for this message
Alex Launi (alexlauni) wrote :

How to handle this case is addressed in the messaging menu spec, https://wiki.ubuntu.com/MessagingMenu. Will start fixing.

Changed in libunity-webapps:
assignee: Robert Carr (robertcarr) → Alex Launi (alexlauni)
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.