Merge lp:~townsend/unity/fix-panel-shadow-regressions into lp:unity
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3395 |
Proposed branch: | lp:~townsend/unity/fix-panel-shadow-regressions |
Merge into: | lp:unity |
Diff against target: |
59 lines (+19/-8) 1 file modified
plugins/unityshell/src/unityshell.cpp (+19/-8) |
To merge this branch: | bzr merge lp:~townsend/unity/fix-panel-shadow-regressions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Brandon Schaefer (community) | Approve | ||
Review via email:
|
Commit message
Fixes some panel shadow regressions caused by rev. 3381.
- No panel shadow when logging in, ie, no windows are opened.
- Indicator drop down menus have the panel shadow painted over them.
- Notification bubbles cause the panel shadow to be drawn on top of everything.
- Minimizing all windows caused the panel shadow to not be drawn.
Description of the change
== Issue ==
The changes I introduced in revno. 3381 has caused some panel shadow regressions. These include:
1. No panel shadow when logging in, ie, no windows are opened.
2. Indicator drop down menus have the panel shadow painted over them.
3. Notification bubbles cause the panel shadow to be drawn on top of everything.
4. Minimizing all windows caused the panel shadow to not be drawn.
== Fix ==
1. Check if the "desktop window" is the top window and draw the panel shadow if it is.
2. In the GetTopVisibleWi
a. If the window is not minimized.
b. If the window resName is not empty.
c. If the window resName is not "unity-
d. If the window resName is not "notify-osd".
FAILED: Continuous integration, rev:3385 jenkins. qa.ubuntu. com/job/ unity-ci/ 159/ jenkins. qa.ubuntu. com/job/ unity-saucy- amd64-ci/ 47 jenkins. qa.ubuntu. com/job/ unity-saucy- armhf-ci/ 47/console jenkins. qa.ubuntu. com/job/ unity-saucy- i386-ci/ 47
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-ci/ 159/rebuild
http://