gnome-shell/js
Marco Trevisan (Treviño) 520cea9394 iconGrid: Don't hide children inside allocation loop
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
2019-06-15 12:31:50 +00:00
..
extensionPrefs extensionPrefs: Fix pref button appearance 2019-04-12 00:51:44 +02:00
gdm js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
misc modemManager: improve check for CDMA system identifier 2019-05-27 08:36:05 -07:00
perf perf: Stop using GTK 2019-04-11 17:27:50 +00:00
portalHelper cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
ui iconGrid: Don't hide children inside allocation loop 2019-06-15 12:31:50 +00:00
js-resources.gresource.xml accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00