Merge lp:~agateau/unity-2d/show-launcher-from-home-button into lp:unity-2d/3.0
Status: | Merged |
---|---|
Approved by: | Ugo Riboni |
Approved revision: | 465 |
Merged at revision: | 473 |
Proposed branch: | lp:~agateau/unity-2d/show-launcher-from-home-button |
Merge into: | lp:unity-2d/3.0 |
Diff against target: |
295 lines (+41/-66) 7 files modified
launcher/app/autohidebehavior.cpp (+1/-16) launcher/app/autohidebehavior.h (+0/-5) launcher/app/intellihidebehavior.cpp (+10/-33) launcher/app/intellihidebehavior.h (+3/-11) panel/applets/CMakeLists.txt (+2/-0) panel/applets/homebutton/homebuttonapplet.cpp (+19/-1) panel/applets/homebutton/homebuttonapplet.h (+6/-0) |
To merge this branch: | bzr merge lp:~agateau/unity-2d/show-launcher-from-home-button |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
unity-2d-team | Pending | ||
Ugo Riboni | Pending | ||
Review via email: mp+54360@code.launchpad.net |
This proposal supersedes a proposal from 2011-03-16.
Commit message
[launcher] Only show launcher when moving over home button.
This branch implements the following changes:
- Make unity-2d-panel HomeButton applet call BeginForceVisible and EndForceVisible when mouse enters and leaves the button.
- IntelliHideBehavior has also been refactored to carry less state, which potentially fixes other bugs which could be triggered by the behavior instance being destroyed because the controller switched to the ForceVisibleBeh
Description of the change
This branch implements the following changes:
- Make unity-2d-panel HomeButton applet call BeginForceVisible and EndForceVisible when mouse enters and leaves the button.
- IntelliHideBehavior has also been refactored to carry less state, which potentially fixes other bugs which could be triggered by the behavior instance being destroyed because the controller switched to the ForceVisibleBeh
Code works, except for the following problem that breaks autohide and keeps the launcher always visible:
- put a window across the launcher so it does autohide
- go to the home button, the launcher appears
- push the home button, the dash appears
- click the workspaces switcher button in launcher, spread appears
- exit the spread to the same workspace where you were initially
The launcher is now stuck and always visible.
Please note that i'm running all 4 unity-2d components from the branch where i merged your code.