Merge lp:~3v1n0/unity/refresh-panel+launcher-on-screen-unlock into lp:unity
Status: | Rejected |
---|---|
Rejected by: | Sam Spilsbury |
Proposed branch: | lp:~3v1n0/unity/refresh-panel+launcher-on-screen-unlock |
Merge into: | lp:unity |
Prerequisite: | lp:~smspillaz/unity/unity.half_fix_883836 |
Diff against target: |
170 lines (+80/-0) 5 files modified
manual-tests/ScreenSaverHandler.txt (+34/-0) plugins/unityshell/src/Launcher.cpp (+21/-0) plugins/unityshell/src/Launcher.h (+5/-0) plugins/unityshell/src/PanelMenuView.cpp (+15/-0) plugins/unityshell/src/PanelMenuView.h (+5/-0) |
To merge this branch: | bzr merge lp:~3v1n0/unity/refresh-panel+launcher-on-screen-unlock |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Disapprove | ||
Alex Launi (community) | test review | Needs Fixing | |
Review via email: mp+85976@code.launchpad.net |
Commit message
Make Panel and Launcher be aware of the ScreenSaver unlocking.
Description of the change
Fixed the bug #893647 using the new utility ScreenSaverHandler class by Sam.
Unmerged revisions
- 1787. By Marco Trevisan (Treviño)
-
Merging with new Sam's changes.
- 1786. By Marco Trevisan (Treviño)
-
manual-tests: Added manual tests for ScreenSaver interaction.
- 1785. By Marco Trevisan (Treviño)
-
Launcher: use ScreenSaverHandler to hide (if needed) the launcher on screensaver end
Properly fixes bug #893647
- 1784. By Marco Trevisan (Treviño)
-
ScreenSaverHandler: add header guard, and extend sigc::trackable
- 1783. By Marco Trevisan (Treviño)
-
PanelMenuView: use ScreenSaverHandler to hide/show menus when screensaver is closed
When the ScreenSaver/
LockScreen is closed, we need to check again the current
mouse position to check if showing the menus or not.Partly Fixes bug #893647
- 1782. By Sam Spilsbury
-
Added a small ScreenSaverHandler class to monitor changes in screensaver
state. Note that at the moment it doesn't work because gnome-screensaver
doesn't emit the ActiveChanged signal until it gets the grab, and the whole
purpose of this is to watch for ActiveChanged in order to release the grabs.Tests included show that the detection code works.
We discussed doing this on general mouse grab / ungrab with fullscreen windows but apparantly the screensaver is doing something else as well, so this is an adequate solution in the meantime.