Issue 2063: Closing a tab and opening a new tab simultaenously causes crash
http://code.google.com/p/chromium/issues/detail?id=2063
Comment #6 by yarin.kaul:
This is what I found out:
- I do not know how the described crash could have happened as a reaction
on closing
and opening tabs. I located the CHECK() that triggered, and found out that
the
containing method is not even called when reproducing the accordion effect.
- The problem with the accordion effect is not caused by the text
disappearing.
Instead, the calculation of the tab widths goes wrong. View::GetLocalBounds
returns a
width of 0, so the minimum tab width of 31px is used.
- When you click the close tab button and press ctrl+b very fast, the
according
window messages are appearing in wrong order. This causes chrome to first
insert a
new tab, killing the insertion animation even before it could do one
animation tick,
and then removing the other tab.
So this is what is happening:
[Accelerator window message 'User pressed Ctrl+T' comes in]
TabStripModel::InsertTabContentsAt(2)
calls TabStrip::TabInsertedAt (as TabStripModelObserver)
calls TabStrip::StartInsertTabAnimation(2)
calls TabAnimation::Start()
calls SlideAnimation::Show()
calls Animation::Start()
[Window message 'User clicked the close tab button' arrives]
TabStripModel::DetachTabContentsAt(1)
calls TabStrip::TabDetachedAt (as TabStripModelObserver)
calls Tabstrip::StartRemoveTabAnimation(1)
calls TabAnimation::Stop()
calls Animation::Stop()
calls TabAnimation::Start()
calls SlideAnimation::Show()
calls Animation::Start()
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---