After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746312 - Allview._scrollview.get_effect("fade") return null on small screens
Allview._scrollview.get_effect("fade") return null on small screens
Status: RESOLVED DUPLICATE of bug 750714
Product: gnome-shell
Classification: Core
Component: overview
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-16 22:35 UTC by Michele
Modified: 2015-06-11 09:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michele 2015-03-16 22:35:32 UTC
It happens on very small screen ( < 400px height), as in the case of virtual machines, or adding additional children to Main.overview._overview even on normal resolution (768px height)

In appDisplay.js, Allview.adaptToSize

...

 let fadeOffset = Math.min(this._grid.topPadding,
                                  this._grid.bottomPadding);
 this._scrollView.update_fade_effect(fadeOffset, 0);
 this._scrollView.get_effect('fade').fade_edges = true;

...

fadeOffset is calculated from the _grid  paddings which turn out to be zero on the conditions mentioned above. In these conditions the fade effect is disabled by update_fade_effect(0, 0) and the following line and others result in an error.

The bug also affects 3.14.
Comment 1 Florian Müllner 2015-06-11 09:17:36 UTC
Duping on newer bug that has a patch.

*** This bug has been marked as a duplicate of bug 750714 ***