~unity-2d-team/unity-2d/trunk

Viewing all changes in revision 794.

  • Committer: Tarmac
  • Author(s): Albert Astals
  • Date: 2011-11-28 17:51:52 UTC
  • mfrom: (792.1.1 fix892004)
  • Revision ID: tarmac-20111128175152-60map7osefvrnlos
[launcher] Do not resend the visibleChanged(false) if we were already not visible
  
How does this happen:
  * You start the launcher, you have a maximized window, thus it hides
  * Then you alt+tab to another maximized window, this calls activeWindowChangedCB that calls updateVisibility that decides that has to hide the panel, thus it call hidesPanel again
  
This has the effect of confusing the unity2dpanel since VisibilityController::updatePanelVisibility will call Unity2dPanel::slideOut when it was already hidden, this confusion results in bug 892004. Fixes: 892004. Reviewed by Didier Roche.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: