cGmail opens more browsers windows that it should

Bug #248123 reported by Ismael Carnales
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cGmail
New
Undecided
Unassigned
Nominated for 0.5 by Michael

Bug Description

With multiple gmail accounts (3, 2 from hosted domains) when yo click "Go to Gmail Account" to see your mail yo get 6 o 7 windows (or tabs) with all your mail accounts.

The button should open only the correct account and once :)

Revision history for this message
Dylan Thacker-Smith (dylan-smith) wrote :

The amount of times it calls openbrowser appears to be equal to the amount of times the notification window pops up (either from the status changing or the icon being clicked to "Reshow Last Notification").

Revision history for this message
Dylan Thacker-Smith (dylan-smith) wrote :

I figured out the problem.

A new notification object is created for each notification window, and each one connects to the ActionInvoked signal. I found out that all the notifications objects were having their actions invoked, but they could keep track of an ID returned by the Notify method to make sure they only respond to actions on their window.

I am not sure if this patch is in the right format. I haven't submitted patches to this project before, so let me know what the procedure is for submitting commits/patches.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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