dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #07216
[Bug 1079460] Re: Show Desktop state does not toggle when there are no windows
Also to note, there is new behavior for show desktop. As soon as a new
window is mapped, show desktop toggles off. So this can no longer be a
problem, unless the tests are waiting for it to be off when no windows
are mapped (but that wont be an issue anyway..as it toggles fine). As
when ever a new window is mapped, show desktop is false.
If this is proved to still be a problem, we will need to decide what
should happen as there is new behavior now for show desktop.
I also have all the show desktop tests passing locally here.
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1079460
Title:
Show Desktop state does not toggle when there are no windows
Status in Ayatana Design:
Fix Committed
Status in Unity:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
Super+Ctrl+d (or whatever show desktop is bound to) does not toggle
the state of PluginAdapter._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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1079460/+subscriptions