DroidKaigi / conference-app-2023

The Official Conference App for DroidKaigi 2023
Apache License 2.0
645 stars 206 forks source link

[Android] Unpredictable Timetable App Bar Bookmark Icon State #1116

Closed ohzono closed 1 year ago

ohzono commented 1 year ago

Describe the bug Reproduced with an app released from the Play Store. The state of the bookmark icon in the top app bar resets upon restarting the app. I'm not sure if this is the intended behavior or a bug.

To Reproduce Steps to reproduce the behavior: Follow these steps to reproduce the behavior:

  1. Verify the visibility of the bookmark list icon in the top app bar.
  2. Tap the 'bookmark icon' found on the timetable within a session item.
  3. Observe that the bookmark list icon in the top app bar changes (it fills with color and a '+' appears on the icon).
  4. Restart the app.
  5. Notice that the bookmark list icon in the top app bar reverts to its state from step 2.

Sometimes didn't happen, but you can see the other pattern's state management problems.

Expected behavior In this scenario, the state of the bookmark list icon in the top app bar should not change when the app is restarted.

Screenshots

I will attach the recorded one later. 🙏

takahirom commented 1 year ago

It seems bug! Thanks!

ked4ma commented 1 year ago

It seems little bit complecated (arround state updating timing), but I want to try this issue! :raised_hand_with_fingers_splayed: