Make "Show Desktop" detect active windows instead of just toggle Desktop/All windows

Bug #926695 reported by Joost Van Durme
10
This bug affects 2 people
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

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Show Desktop is a Compiz feature, not a Unity one.

affects: unity (Ubuntu) → compiz (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.