Make "Show Desktop" detect active windows instead of just toggle Desktop/All windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz Core |
New
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Right now the Show Desktop feature (through button or Ctrl-Alt-D) behaves like a regular toggle and nothing more.
So, one click will minimize all windows and the next click (even if I reopen windows) will show all windows again.
This leads to the following anomaly:
1. Open three windows e.g. 2 terminals and gedit
2. Click on Show Desktop > All windows minimize
3. Open a new window (any app) or make a minimized window active (unminimize)
4. Click on Show Desktop
Observed: All windows are brought back
Expected: All windows are minimized
So basically, when there is at least one window active, the Show Desktop should detect this and reset itself so that the next time it is clicked, it minimizes all active windows and shows the desktop as is expected > Gnome 2 behaves exactly like this (Ubuntu 10.10).
The Show Desktop should not reset itself when no window has become active (so all windows minimized) after Show Desktop was clicked to minimize all windows. In that case, clicking Show Desktop again may unminimize all windows.
I hope I made it somewhat clear. As Show Desktop behaves right now, it is unconsistent in my opinion.
Thanks!
System: 12.04 Alpha 2, Unity 5.2
Show Desktop is a Compiz feature, not a Unity one.