FGA icon indicating copy to clipboard operation
FGA copied to clipboard

Android 13 screen recording issues

Open dwennon opened this issue 3 years ago • 6 comments
trafficstars

Preparation

FGO server

NA

FGA build number

1820

Describe the bug

Currently FGA will sometimes go through the normal processes it's supposed with servant/team select, then when in battle it doesn't actually do anything beyond occasionally click servant status or click battle then click off. Leaving it be for a few minutes will see this repeat, and no changes occuring.

Recently I was forced into updating to android 13, my device installed it and rebooted without my permission, and I had though it might be an issue with the version of FGA. So I tried updating it. Then I attempted to uninstall and reinstall FGA, which also didn't fix anything. So I'm unsure if the android update is the issue, or something else that should be very obvious.

Video

https://www.veed.io/view/5beaf8eb-691e-4d74-bfcd-ffe207d5f889?sharingWidget=true

Device model

Pixel 4a

Android version

12

Screen size

No response

RAM

No response

dwennon avatar Aug 29 '22 16:08 dwennon

Looks to me like FGA's screenshot service only sees the image you're starting with.

If you start on the Support screen, it will only see that you're still in Support selection. If you start in battle, it will only see the first wave.

The weird thing is that video recording is still fine.

What happens if you disable recording?

reconman avatar Aug 29 '22 16:08 reconman

Turning off video recording fixed it, I didn't even think that might factor into things. Although I still occasionally need to turn FGA on and off again to get it to actually work. Kinda worries me though if other issues pop up and I can't record the screen with FGA.

dwennon avatar Aug 29 '22 16:08 dwennon

I might have an idea, but it will take some time to test.

Most app developers either record video or take screenshots, but don't do both at the same time.

reconman avatar Aug 29 '22 18:08 reconman

I might have an idea, but it will take some time to test.

Most app developers either record video or take screenshots, but don't do both at the same time.

Well alright, at least it's working now so I'm not in a huge rush. But getting it fixed if reasonably possible would be nice.

dwennon avatar Aug 29 '22 18:08 dwennon

Please test https://github.com/Fate-Grand-Automata/FGA/suites/8038504796/artifacts/345614597

reconman avatar Aug 29 '22 21:08 reconman

That didn't seem to do much of anything that's observable to me. Pretty much acting as it was before with the auto record on, turning it back off and toggling FGA on and off got it working again.

No clue what's up though.

dwennon avatar Aug 29 '22 22:08 dwennon

Can reproduce it now that I've updated to Android 13.

I'll try and find a solution in the near future.

reconman avatar Nov 11 '22 17:11 reconman

@dwennon Can you please test https://github.com/Fate-Grand-Automata/FGA/suites/9272837883/artifacts/434387737

I've made it so the screen capture is more resilient and I've removed FGA's screen recording functionality.

Instead, FGA should now continue to work when using Android's recording function.

reconman avatar Nov 12 '22 22:11 reconman