oxyroid / M3UAndroid

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

Screen shakes very fast #158

Closed PhynixP closed 5 months ago

PhynixP commented 5 months ago

Describe the bug Screen shakes very fast from left to right

To Reproduce 1- After installing the App, click on Settings (icon). 2- Then go to the right to the functions. 3- The screen shakes very quickly from left to right

Smartphone (please complete the following information):

PhynixP commented 5 months ago

If you compile and install this version, it works fine 4f917c1

PhyniX

oxyroid commented 5 months ago

Can you record how it shakes? I just upgraded a compose list-detail layout dependency.

oxyroid commented 5 months ago

Record a video to show it to me.

oxyroid commented 5 months ago

Fixed, check again.

PhynixP commented 5 months ago

Hey oxyroid, i have test it. Now it works fine on Emulator,Shield and FireTV Thanks for this

PhynixP commented 5 months ago

The shakeing is over and working fine. But the m3u list do not open anymore. After click on the M3U list the screen is online white. I thing the app is crashed.

PhyniX

oxyroid commented 5 months ago

Video Plz

PhynixP commented 5 months ago

Hello oxyroid, i have made a video but it is too big for github. i have upload to file.io https://file.io/SoLWvdFuX04K

oxyroid commented 5 months ago

I upgraded the latest compose-1.7 prerelease recently, they Renamed BringIntoView to ScrollIntoView, but they did not do that in latest compose-tv-foundation prerelease.

I decided to use the SNAPSHOT compose-tv build temporarily. It may fix the crash on tv devices.

Have a try the SNAPSHOT package again!

oxyroid commented 5 months ago

Update: I found the official compose tv example removed the compose tv foundation dependency and the compose foundation 1.7 added some adaptations for tv devices. So I also do it as well. Also keep the reproduction.

PhynixP commented 5 months ago

Nice! It works fine now. I can't find bugs anymore.