This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Top sites flash when removing one with frecent is disabled #15499
Labels
🐞 bug
Crashes, Something isn't working, ..
eng:qa:verified
QA Verified
Feature:Shortcuts
Top Sites/Topsites on the Firefox home page
pin
Issues, features, improvements that are still valid
Comments
jonalmeida
added
🐞 bug
Crashes, Something isn't working, ..
Feature:Shortcuts
Top Sites/Topsites on the Firefox home page
labels
Sep 28, 2020
3 tasks
3 tasks
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jun 28, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jun 28, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
3 tasks
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 8, 2021
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 8, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 8, 2021
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 9, 2021
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 9, 2021
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 20, 2021
codrut-topliceanu
pushed a commit
to codrut-topliceanu/fenix
that referenced
this issue
Jul 20, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
mergify bot
pushed a commit
that referenced
this issue
Jul 20, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
Verified as fixed on the 92.0a1 Nightly build from 7/21 with Google Pixel (Android 10), and HTC 10 (Android 8). |
lobontiumira
added
eng:qa:verified
QA Verified
and removed
eng:qa:needed
QA Needed
labels
Jul 21, 2021
czlucius
pushed a commit
to czlucius/fenix
that referenced
this issue
Aug 20, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
czlucius
pushed a commit
to czlucius/fenix
that referenced
this issue
Aug 22, 2021
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
🐞 bug
Crashes, Something isn't working, ..
eng:qa:verified
QA Verified
Feature:Shortcuts
Top Sites/Topsites on the Firefox home page
pin
Issues, features, improvements that are still valid
Created from #14230 (comment)
Steps to reproduce
Expected behaviour
Actual behaviour
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: