Merge lp:~3v1n0/unity/shield-notify-grabs into lp:unity
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Andrea Azzarone | ||||||||
Approved revision: | no longer in the source branch. | ||||||||
Merged at revision: | 3878 | ||||||||
Proposed branch: | lp:~3v1n0/unity/shield-notify-grabs | ||||||||
Merge into: | lp:unity | ||||||||
Diff against target: |
417 lines (+117/-19) 15 files modified
UnityCore/DBusIndicators.cpp (+11/-0) UnityCore/DBusIndicators.h (+1/-0) UnityCore/Indicators.h (+1/-0) lockscreen/LockScreenAbstractShield.h (+3/-0) lockscreen/LockScreenController.cpp (+33/-11) lockscreen/LockScreenController.h (+2/-2) lockscreen/LockScreenPanel.cpp (+28/-1) lockscreen/LockScreenShield.cpp (+9/-5) lockscreen/LockScreenShield.h (+1/-0) plugins/unityshell/src/unityshell.cpp (+1/-0) services/panel-main.c (+8/-0) services/panel-service.c (+15/-0) services/panel-service.h (+2/-0) tests/mock_indicators.h (+1/-0) tests/test_lockscreen_controller.cpp (+1/-0) |
||||||||
To merge this branch: | bzr merge lp:~3v1n0/unity/shield-notify-grabs | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+235328@code.launchpad.net |
Commit message
LockScreenContr
If that fails (and if the grab has never been gained during this locking session),
it's up to the Controller to decide whether the lock request has to be ignored.
So, if the primary shield fails to grab, before that the screen has ever been locked,
then we have to give up. Otherwise if it fails (but we were already locked), it's safe
to assume that this failure is due to the menus that are currently controlling the grab.
Also setup the primary shield signal connections in a shared place and use a
connection::Manager to keep track of them.
Description of the change
Correctly handle the resolution changes when a menu is open in lockscreen
FAILED: Continuous integration, rev:3880 jenkins. qa.ubuntu. com/job/ unity-ci/ 1085/ jenkins. qa.ubuntu. com/job/ unity-utopic- amd64-ci/ 172/console jenkins. qa.ubuntu. com/job/ unity-utopic- armhf-ci/ 172/console jenkins. qa.ubuntu. com/job/ unity-utopic- i386-ci/ 172/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- ci/1085/ rebuild
http://