aniyomiorg / aniyomi

An app for manga and anime
https://aniyomi.org
Apache License 2.0
5.17k stars 322 forks source link

[▶️PL] Video gets Thin ratio in internal player after selecting "Stretched to screen" as default #1198

Open SouravPaul553h opened 1 year ago

SouravPaul553h commented 1 year ago

Steps to reproduce

Its simple.

  1. After selecting "Stretched to screen" when I back out of the player and play something else

  2. Then the video dimension gets thinner. (Images below for reference) image

  3. Also it goes away after selecting "Stretched to screen" again

Expected behavior

The player should look like this in default after selecting "Stretched to screen" image

Btw, it happens only when playing video at first after selecting fit to screen or anything else it goes back to normal ratio again. Also if "Fit to screen" is selected then it doesn't have this issue

Actual behavior

The player just plays the video in that Thin ratio (image above for reference) after selecting any episode So I noticed that after updating the app version to Preview r6691 it started happening.

Crash logs

No response

Aniyomi version

Preview r6691

Android version

Android 12

Device

Samsung Galaxy M31

Other details

No response

Acknowledgements

SouravPaul553h commented 1 year ago

i think this issue might be occurring becuz of the player thinks it's on the portrait mode somehow, thats why its thinner in the portrait view, or it doesn't remember its resize view mode for landscaped position (dont know for sure its my assumption though)