My memory of WM _NET_SHOWING_DESKTOP has historically worked is:

  1. toggle WM "Show Desktop"; all raised windows are hidden/minimised
  2. unminimise (raise) some windows
  3. re-minimise a subset of the windows that were (just) raised
  4. toggle WM "Show Desktop" again; all windows affected in (1) but not 
touched by (2) and (3) are raised
  5. toggle WM "Show Desktop" again; all windows presently open are minimised
  6. toggle WM "Show Desktop" again; all windows hidden by (5) are raised.

It is a tri-state internally, but only a toggle is exposed to the user.
The value in having "Show Desktop" at all is to retain compatibility
with that method of working and expected functionality.  It's not useful
to have it if it's broken.

  http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2577528

Running:

  while true ; do sleep 1 ; xprop -notype -root _NET_SHOWING_DESKTOP |
sed -e 's/.*1$/off/;s/.*0$/on/' | xargs wmctrl -k ; done

and then doing semi-random Alt-tabbing, is not producing the output I'm
expecting/used to.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/975155

Title:
  Show desktop - behaviour can be confusing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/975155/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to