Super+D wrongly leaves windows minimized if a new window appears while in "hiding" state

Bug #1771466 reported by jimav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
New
Undecided
Unassigned

Bug Description

https://gitlab.gnome.org/GNOME/gnome-shell/issues/282

---

Toggling Super+D hides or un-hides all windows so you can access icons on the desktop.

But this breaks if a new window appears while the windows are hidden: They become PERMANENTLY hidden, i.e. Super+D does not restore them. They seem to be "minimized" -- you have to individually un-minimize each window to get your session back.

This is very annoying, and is common: The only reason for using Super+D is to see something on the desktop; probably you then need to do something with it, i.e. click it. If that action opens a new window, which is almost certain, you're hosed.

STEPS TO REPRODUCE:

1. Open a bunch of windows and artfully arrange them.
2. Type Super+D (they all become hidden)
3. Double-click the "Trash" desktop icon and wait for a file browser to open.

RESULTS: Once the file-viewer opens, Super+D will not restore the previously-hidden windows. Instead, it seems to forget about them and instead hide the new window (and un-hide it if pressed a second time --before yet another window is opened, of course).

EXPECTED RESULTS:
   The state should be well-defined: Either normal or windows-hidden.
   Once in the windows-hidden state, Super-D should un-hide the hidden windows e
   ven if new windows have been created in the interim.

SUGGESTED FIX:
1. (preferred): On the first Super+D, hide all windows and remember their IDs. On the next Super+D, un-hide just those windows, if they still exist, and do nothing at all with any other windows which might be present (i.e. new ones). Then return to the initial state, where Super+D hides all visible windows.

2. (if the above is too hard to implement): If a new window appears while in the "hiding" state, make the new window immediately become hidden also; only on the second Super+D would the new window become visible along with the old ones.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.1-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue May 15 16:40:22 2018
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'enabled-extensions' b"['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'suspend-button@laserb', '<email address hidden>', '<email address hidden>']"
 b'org.gnome.shell' b'favorite-apps' redacted by apport
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
InstallationDate: Installed on 2018-04-05 (40 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180403.1)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
jimav (james-avera) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please report this behavioural issue to the Gnome developers here:
https://gitlab.gnome.org/GNOME/gnome-shell/issues

And then let us know the URL of the new bug created there.

Revision history for this message
jimav (james-avera) wrote :
description: updated
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.