Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defect: Progress dialog keeps running in infinite loop #536

Closed
Varsha-Kulkarni opened this issue Oct 2, 2022 · 7 comments · Fixed by #544 or #559
Closed

Defect: Progress dialog keeps running in infinite loop #536

Varsha-Kulkarni opened this issue Oct 2, 2022 · 7 comments · Fixed by #544 or #559
Assignees
Labels
bug Something isn't working hacktoberfest For partifipating in Hacktoberfest noty-android
Milestone

Comments

@Varsha-Kulkarni
Copy link
Contributor

Steps to reproduce:

  1. Login to the app.
  2. Click on add note, navigate to add note detail screen
  3. add title, add notes, click on save
  4. navigate back to list of notes
  5. click on newly added note, navigate to note detail screen
  6. click on delete note button
  7. once note deleted, it navigates back to list of notes screen where progress dialog keeps loading indefinitely
@Varsha-Kulkarni
Copy link
Contributor Author

I would like to work on fixing this one, please assign this to me, Thanks

@PatilShreyas
Copy link
Owner

Thanks, @Varsha-Kulkarni for raising this issue.

@PatilShreyas PatilShreyas added bug Something isn't working noty-android hacktoberfest For partifipating in Hacktoberfest labels Oct 2, 2022
@PatilShreyas
Copy link
Owner

This is happening in simpleapp or composeapp?

@Varsha-Kulkarni
Copy link
Contributor Author

This is in simpleapp. Attaching a screen recording
progress_dialog_loading_infinitely.webm

@PatilShreyas
Copy link
Owner

Thanks for sharing the recording. What's the cause of this dialog's behaviour?

@Varsha-Kulkarni
Copy link
Contributor Author

I think it is the same even when app loads the first time after logging in. It is because shouldSyncNotes always returns true because notes is empty in NotesFragment.
It tries to keep syncing indefinitely until there's data.

@PatilShreyas
Copy link
Owner

Oh yes, we need to fix it then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest For partifipating in Hacktoberfest noty-android
Projects
Status: Done
2 participants