You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
sflorean opened this issue
Jan 15, 2020
· 4 comments
Assignees
Labels
b:crashCrashes Fenix: should link to Sentry, Crash-Stats or GPlay info🐞 bugCrashes, Something isn't working, ..S1Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
The text was updated successfully, but these errors were encountered:
sflorean
added
🐞 bug
Crashes, Something isn't working, ..
b:crash
Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info
S1
Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
labels
Jan 15, 2020
Could not reproduce the crash but I see another issue on various devices:
After pressing retry the current snackbar is dismissed but another new one isn't shown.
Trying to track this issue down was a rabbit hole but with enough logs in our code and in the com.google.android.material.snackbar package I got to see that
This seems to be a bug in the material.snackbar lib that we can't overcome. Indeed it's because of the method calls not being properly synchronized and can be avoided if for example the server action takes a longer time to execute and ultimately fail so that there is enough time for the initial snackbar to be fully dismissed so the call to show a new one will succeed but in our usecase it's very easy to have it reproduced.
Using a new instance of a FenixSnackbar seems to come with it's own share of issues. Will update this comment after investigating a bit more.
@sflorean Does the crash still reproduces for you?
I tried to but I can't reproduce. I think the issue causing the crash was fixed following some other work.
@Mugurell the crash is not reproducible on Beta build - 4.2.0-beta.3 and the "Unable to send RETRY" snackbar is displayed again if it is tapped. However, on Nightly the snackbar is not displayed anymore after being displayed 3 times.
@sflorean Then maybe we can close this and based on Chenxia's comment we should think again about supporting consecutive snackbars if there are other scenarios also for this particular issue?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
b:crashCrashes Fenix: should link to Sentry, Crash-Stats or GPlay info🐞 bugCrashes, Something isn't working, ..S1Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
Prerequisites
Sign in with the same account on Desktop and on Firefox Preview.
Steps to reproduce
Expected behavior
"Unable to send RETRY" toast is presented. Same as for step 3.
Actual behavior
Firefox Preview crashes.
Note
On Nightly, after performing step 4, no error is displayed again.
Device information
retrycrash.txt
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: