inaturalist / iNaturalistAndroid

Android app for iNaturalist.org
https://market.android.com/details?id=org.inaturalist.android
MIT License
155 stars 56 forks source link

Suggest ID infinite loop #1344

Closed willkuhn closed 2 weeks ago

willkuhn commented 1 month ago

Nutshell: After scrolling through and adding IDs to several pages of observations, the Suggest ID feature consistently starts looping and fails to post IDs. The problem can be fixed by restarting the app.

To recreate the problem: starting from Projects > [any project with pages of observations] or Explore, scroll through 6-9 screens of grid-style observations (~15 obs/screen on my phone) and use the Suggest ID to add IDs to several dozen of them. I consistently encounter this loop:

  1. I hit Suggest ID
  2. the Suggest ID initializes (starts with no suggestions, then they fill in)
  3. I select (✓) for a species
  4. Add ID (✓)
  5. back to 2, ad infinitum

If I back out of Suggest ID, my identification has not posted, and if I then go back into Suggest ID, I again encounter the loop. At this point, if I hit Agree for a previous ID, spinning wheel appears and spins indefinitely. I can back out of the observation and go back in, and my agreed ID has posted. Notably, when I back out of the spinning wheel observation, the thumbnails in the grid are blurry...maybe reloading?).

The only way I've found to reliably fix the problem is to close out the app and restart it. This is usually not too disruptive unless I'm way down into the observations of a project or filtered explore results, then it becomes a pain to refilter and scroll scroll scroll.

History: This is a long-standing problem I've encountered for 5+ years, through many versions of iNat on at least 3 Android phones with various versions of Android. Probably related to Explore screen out of memory issue (#588) though I get the sense that the memory costs of the Suggest ID feature are especially pertinent here.

My current versions: iNaturalist v 1.30.15 (608) / Android v 13 (One UI v 5.1) / Samsung SM-G981U1

Complaints aside, I love iNaturalist and the iNat community with all my heart and soul ❤️ Keep up the incredible work!

tiwane commented 3 weeks ago

Hey Will, thanks for the detailed issue. In the future, however, please file a bug report at forum.inaturalist.org rather than posting directly to Github.

willkuhn commented 2 weeks ago

Thanks @tiwane ! Done: https://forum.inaturalist.org/t/suggest-id-infinite-loop/52506