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 775604 - Removed overview items are not replaced by new items
Removed overview items are not replaced by new items
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Overview
3.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-04 18:26 UTC by Michael Catanzaro
Modified: 2016-12-05 03:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
web-overview: Properly show new overview item after removing one (1.29 KB, patch)
2016-12-04 19:52 UTC, Michael Catanzaro
committed Details | Review
about-handler: Simplify overview JS (1.22 KB, patch)
2016-12-04 19:52 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2016-12-04 18:26:57 UTC
When removing an item from the overview, it's supposed to be replaced by a new item from history. At first I thought it was a regression from 'web-overview: Don't ever duplicate thumbnails' but reverting that commit did not help. Then I did a bisect and discovered it broke in "overview: Fix for animation when removing item" (bug #772350). We can't just revert that commit since the animation really is very broken without it, so needs further investigation to see what went wrong.
Comment 1 Michael Catanzaro 2016-12-04 18:29:24 UTC
Estêvão, any chance you have time to look into it? (No problem if not, I know you've got plenty going on. :)
Comment 2 Michael Catanzaro 2016-12-04 19:43:43 UTC
Actually I found the problem. I broke setting the overview-removed style class in "Improve overview layout in small windows", then you fixed that in "overview: Fix for animation when removing item", but now nothing ever removes the class so the item stays hidden forever.
Comment 3 Michael Catanzaro 2016-12-04 19:52:13 UTC
The following fixes have been pushed:
162859f web-overview: Properly show new overview item after removing one
363d6ca about-handler: Simplify overview JS
Comment 4 Michael Catanzaro 2016-12-04 19:52:16 UTC
Created attachment 341361 [details] [review]
web-overview: Properly show new overview item after removing one

This has been broken since I got rid of the list that was previously
used to hold overview items. The style class now lives on the anchor
itself and not its parent element.
Comment 5 Michael Catanzaro 2016-12-04 19:52:20 UTC
Created attachment 341362 [details] [review]
about-handler: Simplify overview JS

This variable isn't needed anymore, and we don't use a list anymore
anyway.