oxyroid / M3UAndroid

FOSS Player, which made of jetpack compose. Android 8.0 and above supported.
https://t.me/m3u_android
Apache License 2.0
229 stars 25 forks source link

Crashing of app when non-stop scrolling favorite channels and pressing "For you" immediately #61

Closed sguinetti closed 4 months ago

sguinetti commented 4 months ago

Describe the bug This bug occurs when scrolling through a list of several favorites while pressing "For you". The crash occurs when scrolling continues, as reproduced below.

To Reproduce Steps to reproduce the behavior:

  1. Importa a list of channels
  2. Add a several favorites (like 15)
  3. Unselect "No image" mode (optional but makes the bug more evident)
  4. Start scrolling the list. To do this, the finger is pulled quickly from the bottom to the top.
  5. Immediately, before it stops, "For you" is clicked.

image

Expected behavior An error message appears. It goes directly to the "app crashes" screen. In some cases the app will remain in "For you" with no response. The app should be closed and reopened.

Screenshots image

Smartphone (please complete the following information):

This error is reproduced in the list of favorites only, regardless of whether "Compact mode" and "No image" are activated.

Additional context Attached log: Crash report scroll favs.txt

oxyroid commented 4 months ago

It seems to be jetpack compose mistake. It's hard to reproduce and I shouldn't be able to fix it. Maybe just upgrade compose libraries and it will disappear in the future.

sguinetti commented 4 months ago

You are right. I try to reproduce this bug again in 1.14.0-alpha11. Now it no longer crashes. Thank you, anyway. I will close.