Super+Ctrl+d (or whatever show desktop is bound to) does not toggle the state of PlutinAdapter._in_show_desktop when there are no windows open. This can be observed with the attached autopilot test, test_queryshowdesktop.py.
[Test Case]
0. Copy test_queryshowdesktop.py to $unity_source/tests/autopilot/unity/tests/
1. Open some windows.
2. from a ssh or other remote login:
2.a. export DISPLAY=:0.0
2.b. cd $unity_source/tests/autopilot
2.c. autopilot run -v unity.tests.test_queryshowdesktop
Observe - "showdesktop state" should follow with what is stated in the test log output.
3. Close all windows on the unity display.
4. repeat 2.c.
Observe - the test will fail because it cannot leave showdesktop mode once it's entered. Note, the showdesktop state is initially 0 meaning disabled, meaning that closing all the windows does not enable showdesktop mode.
Expected - showdesktop state should continue to toggle with the show desktop key.
If this is expected behavior, some autopilot tests need some work.
Super+Ctrl+d (or whatever show desktop is bound to) does not toggle the state of PlutinAdapter. _in_show_ desktop when there are no windows open. This can be observed with the attached autopilot test, test_queryshowd esktop. py.
[Test Case] esktop. py to $unity_ source/ tests/autopilot /unity/ tests/ source/ tests/autopilot test_queryshowd esktop
0. Copy test_queryshowd
1. Open some windows.
2. from a ssh or other remote login:
2.a. export DISPLAY=:0.0
2.b. cd $unity_
2.c. autopilot run -v unity.tests.
Observe - "showdesktop state" should follow with what is stated in the test log output.
3. Close all windows on the unity display.
4. repeat 2.c.
Observe - the test will fail because it cannot leave showdesktop mode once it's entered. Note, the showdesktop state is initially 0 meaning disabled, meaning that closing all the windows does not enable showdesktop mode.
Expected - showdesktop state should continue to toggle with the show desktop key.
If this is expected behavior, some autopilot tests need some work.