DescriptionFix handling of minimized panel count
Increments and decrements of minimized panel count in the docking strip would not balance out in certain scenarios, e.g.:
- if you add a panel that is already minimized (the count was incremented before the panel is added, sometimes causing a DCHECK to fire)
- if you minimize a panel that is in "temporary layout"
- if a panel's expansion state is changed when it is not in the docked strip (that is very hard to guard against, since a panel can jump into the overflow strip as a side effect of many operations)
Changed the handling of minimized panel count to be more bullet-proof; added a test
BUG=113682
TEST=PanelOverflowBrowserTest::AddMinimizedTillOverflow()
Patch Set 1 #
Total comments: 16
Messages
Total messages: 3 (0 generated)
|