Provide acceptance tests for the decor and place plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Sam Spilsbury | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
These plugins have proven to be particular regression and bug-prone. We should provide a test suite that at least verifies the following functionality:
1. Maximizing a window horizontally or vertically does not change its
parent window y/height x/width respectively
2. _NET_WM_
on unmapped windows with _NET_WM_
3. Windows with the StaticGravity hint set are placed with regards to
their decoration extents (friends-app)
4. Windows which have StaticGravity set are placed with regards to
their initial decoration size, and are subsequently expanded to their
old size plus the decoration extents in the case that they lose their
decorations (guake)
5. Windows initially maximized get their input extents set correctly
6. Windows undecorated whilst maximized are demaximized in the correct
position when they are later re-decorated.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Andrea Azzarone: Approve
- MC Return: Approve
-
Diff: 2107 lines (+2046/-2)7 files modifiedplugins/decor/CMakeLists.txt (+2/-0)
plugins/decor/tests/CMakeLists.txt (+1/-0)
plugins/decor/tests/acceptance/CMakeLists.txt (+1/-0)
plugins/decor/tests/acceptance/xorg-gtest/CMakeLists.txt (+36/-0)
plugins/decor/tests/acceptance/xorg-gtest/compiz_decor_acceptance_tests.cpp (+2003/-0)
tests/xorg-gtest/CMakeLists.txt (+1/-0)
tests/xorg-gtest/include/compiz-xorg-gtest.h (+2/-2)
- PS Jenkins bot (community): Approve (continuous-integration)
- Andrea Azzarone: Approve
-
Diff: 1383 lines (+808/-157)5 files modifiedplugins/decor/tests/acceptance/xorg-gtest/CMakeLists.txt (+2/-0)
plugins/decor/tests/acceptance/xorg-gtest/compiz_decor_acceptance_tests.cpp (+777/-132)
tests/system/xorg-gtest/tests/compiz_xorg_gtest_configure_window.cpp (+6/-25)
tests/xorg-gtest/include/compiz-xorg-gtest.h (+3/-0)
tests/xorg-gtest/src/compiz-xorg-gtest.cpp (+20/-0)
Changed in compiz: | |
assignee: | nobody → Sam Spilsbury (smspillaz) |
Fix committed into lp:compiz at revision None, scheduled for release in compiz, milestone 0.9.10.0