Hiding a child implies a parent reallocation, and IconGrid does it for the children that doesn't fit in the available space, but this could lead to an allocation recursion cycle. This has been introduced by commit 0e0574a0 to reduce CPU usage not to using JS vfuncs. To avoid this, toggle the children opacity instead so that we can achieve the same visibility result, without any reallocation need. In this way we also fix the case where hidden children can be shown again, as _getVisibleChildren doesn't filter-out transparent ones, restoring the pre-commit 0e0574a0 behavior. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1336 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
GNOME Shell
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.
For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.
Bugs should be reported to the GNOME bug tracking system.
Contributing
To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell.
Commit messages should follow the GNOME commit message guidelines. We require an URL to either an issue or a merge request in each commit.
License
GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.