Merge lp://staging/~azzar1/unity/fix-lp-931384 into lp://staging/unity

Proposed by Andrea Azzarone
Status: Merged
Approved by: Andrea Azzarone
Approved revision: no longer in the source branch.
Merged at revision: 3459
Proposed branch: lp://staging/~azzar1/unity/fix-lp-931384
Merge into: lp://staging/unity
Diff against target: 1794 lines (+769/-307)
25 files modified
launcher/EdgeBarrierController.cpp (+130/-48)
launcher/EdgeBarrierController.h (+10/-3)
launcher/EdgeBarrierControllerPrivate.h (+10/-2)
launcher/LauncherController.cpp (+8/-7)
launcher/LauncherController.h (+2/-1)
launcher/LauncherControllerPrivate.h (+2/-2)
launcher/PointerBarrier.cpp (+2/-1)
launcher/PointerBarrier.h (+9/-0)
launcher/StandaloneLauncher.cpp (+2/-1)
panel/PanelController.cpp (+15/-5)
panel/PanelController.h (+2/-1)
panel/PanelView.cpp (+8/-0)
panel/PanelView.h (+6/-1)
plugins/unityshell/src/unityshell.cpp (+4/-2)
tests/MockWindowManager.h (+1/-0)
tests/test_edge_barrier_controller.cpp (+467/-216)
tests/test_launcher_controller.cpp (+8/-6)
tests/test_panel_controller.cpp (+36/-8)
tests/test_panel_view.cpp (+18/-0)
unity-shared/PluginAdapter.cpp (+5/-0)
unity-shared/PluginAdapter.h (+2/-0)
unity-shared/StandaloneWindowManager.cpp (+11/-0)
unity-shared/StandaloneWindowManager.h (+4/-0)
unity-shared/WindowManager.h (+2/-0)
unity-standalone/StandaloneUnity.cpp (+5/-3)
To merge this branch: bzr merge lp://staging/~azzar1/unity/fix-lp-931384
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Brandon Schaefer (community) Approve
Review via email: mp+179205@code.staging.launchpad.net

Commit message

Add edge barriers to unity::panel::PanelView.

Description of the change

== Problem ==
Bug #931384: Window management, Launcher, multi-monitor - Windows can't be maximized on the lower display in vertically-stacked configuration

== Fix ==
Add edge barriers to panels.

== Test ==
Unit tests added.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Code looks good, but I mentioned a clean up in IRC.

When testing, I couldn't actually get the horizontal edge to hit. It was just always passing through :(. The vertical ones were working.

review: Needs Fixing
Revision history for this message
Andrea Azzarone (azzar1) wrote :

You need to move a window, trying to activate the grid plugin.

Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

O, I was under the impression it would work the same way as the vertical edge :). As I already have the window part working, soo yay

Revision history for this message
Andrea Azzarone (azzar1) wrote :

> O, I was under the impression it would work the same way as the vertical edge
> :). As I already have the window part working, soo yay

Done.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

New functions look good :)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.