Closed Bug 509806 Opened 16 years ago Closed 16 years ago

PersonaService.resetPersona() is not called when closing a tab while previewing a persona

Categories

(Mozilla Labs Graveyard :: Personas Plus, defect)

x86
Windows 7
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 486207

People

(Reporter: espen, Assigned: cbeard)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a2pre) Gecko/20090810 Minefield/3.6a2pre (.NET CLR 4.0.20506) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a2pre) Gecko/20090810 Minefield/3.6a2pre (.NET CLR 4.0.20506) If I close (ctrl+w) the getpersonas.com tab while previewing a persona PersonaService.resetPersona() is not called, thus i need to preview a new persona / change persona to go back to default / current persona. Reproducible: Always Steps to Reproduce: 1.Visit www.getpersonas.com 2. Preview a persona 3. Close getpersonas.com tab (ctrl+w) Expected Results: PersonaService.resetPersona() should be called when closing a tab while previewing a persona. I guess this could be fixed by adding an event listener for tab closings, and make it call PersonaService.resetPersona();
This also partially happens when opening a new tab (ctrl+t), but behaves quite different. When opening a new tab with the keyboard the mouseover event is still triggering since the mouse hasn't been moved, you can see this by the mouse icon. Just by moving the mouse a little, the event listener will notice that the mouse isn't hovering over an persona, and call resetPersona().
This sounds like a duplicate of bug 486207.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.