YouTube soft-crashes when going full screen sideways
Steps to reproduce : - go to YouTube - open a video - press the full screen button or tilt the phone sideways to trigger full screen - Firefox crashes and forces back to home screen - if opening Firefox again only half of the video component shows as in portrait mode, rest is black screen - if attempting to go side/full screen does properly show the video, but going back again to normal screen still shows the half black screen
I can reproduce this with a almost 100% rate, it only fixes itself by restarting Firefox, where it will work until phone is put to sleep mode.
I tried reinstalling Firefox from scratch, as well as deleting my browser cache and it didn't fix.
Alla svar (10)
What it looks like after opening the app again following crash
Hi
I am sorry to hear that Firefox for Android is crashing. I hope that we can help resolve this for you. Before following the steps below, please make sure that you have updated both your Android device and Firefox for Android to the latest versions available.
As a first step, close down many of the tabs that you have open to as few as possible. Does this help reduce the incidence of a crash?
If this does not resolve the issue, open the Android Settings app, select Applications then find Firefox in the list. In the section headed "Storage", selct the option to clear the cache (do not clear data!). Does this help?
Failing that, our developers will need to look into this in more detail with some logs from inside your copy of Firefox for Android. Type about:crashes in the address bar which will display information about recent crashes. If you select the most recent "Socorro" link, a crash report will open in a new tab. If you could copy and paste the address of the page that opens into a reply to this thread, we will be able to look into this further for you.
I hope that this helps.
Hi, thanks a lot for your answer.
I have made sure of the latest versions, as well as cleared the cache data for Firefox. Also tried with a single tab, and the bug still appears like clockwork.
I have checked the about:crashes page after one such occurence, but no entry seem to be fitting the time (I do have two entries, but their dates do not match).
I have also nightly , and it seems to not have this bug from my limited testing. I guess I'll have to wait for stable to catch up to nightly.
Ändrad
Just in case, here is the latest crash info, which does not seem to match with the latest occurence of this bug :
912a7543-87f6-434a-83d4-478afdcac7dc mozilla.components.support.base.android.UnboundHandlerException: You must bind the NotificationPermissionHandler to an activity
mozilla.components.support.base.android.UnboundHandlerException: You must bind the NotificationPermissionHandler to an activity at mozilla.components.support.base.android.NotificationsDelegate.requestNotificationPermission(NotificationsDelegate.kt:105) at mozilla.components.support.base.android.NotificationsDelegate.notify$default(NotificationsDelegate.kt:73) at mozilla.components.feature.media.service.MediaSessionServiceDelegate$updateNotification$1.invokeSuspend(MediaSessionServiceDelegate.kt:63) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:7) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:23) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:107) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7884) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@3a3fc49, Dispatchers.Main]
If YouTube is crashing or experiencing issues when you try to go full screen sideways (landscape mode), there are a few steps you can try to troubleshoot and resolve the problem:
Clear cache and data: Start by clearing the cache and data of the YouTube app. This can help resolve any temporary glitches or conflicts. Go to your device's Settings, find the Apps or Application Manager section, locate the YouTube app, and then choose the options to clear cache and data.
Update YouTube app: Make sure that you have the latest version of the YouTube app installed on your device. Go to the Google Play Store or the respective app store for your device, search for YouTube, and check if an update is available. If an update is available, install it and see if the issue persists.
Hi thank you for your reply, but it's Firefox which is crashing, not the YouTube app.
I can reproduce the problem. I am reluctant to call it "crash" because firefox does not close itself. But it becomes unusable until I close it, so it is as bad as a crash. The "broken" tab only shows part of the image in the upper half as shown in the image posted by mariojothy, and I can't go to another tab until I close firefox and open it again.
Also I see "No crash reports have been submitted" in "about:crashes".
I reproduce the problem 100% like this in my Google pixel 6a:
- Open https://m.youtube.com/watch?v=9Ue6YPrM_PU in firefox. Some other videos do not cause the problem. - "Unfocus" firefox. Do not close it, but go to android home screen. For me, this is required to reproduce the problem. - Focus firefox (click on firefox icon). - Click on "play" to reproduce the video - Click the youtube "full screen" button in the right bottom corner. - Instead of seeing the full screen video as expected, firefox loses focus, and I am shown the home screen. If I touch the firefox icon, I see a screen like the image posted by mariojothy, and I have to close firefox to be able to use it.
I can reproduce the problem in my *Google pixel 6a* 100% of times. But the error does not show in a Samsung S21, or a Xiaomi.
If I disable "picture in picture" for firefox, the problem disappears. I read it here: https://www.reddit.com/r/firefox/comments/1463pvw/is_the_full_screen_bug_gonna_be_fixed/
The pixel 6a is fully updated. Apps are fully updated.
I reproduce the problem in firefox 117.1.0 (Build #2015973691) on a Pixel 6a with Android 13.
- This doesn't occur on my Samsung Galaxy Tab S6 Lite running Android version 13, all apps fully updated.
Why does it work on my tablet?
Maybe recent code issues handling screen resolutions?
Just purchased a new pixel 6, Android 13, fully updated. As with others, going full screen on YouTube inside Firefox Android causes it I guess to crash. I've tried with and without add-ons. Makes no difference, reinstall, no difference. Like others I have to stop Firefox, then clear cache and it works again. My old Samsung Galaxy S21+ also experienced this issue.
I've also got this issue on my Samsung S20 FE - it's not limited to Youtube though, it happens with any video provider if you try to go to full screen in landscape mode. As with previous posters, I've got all the latest updates for Firefox and the phone itself. On some videos, Firefox kicks you back to the home screen but you can then go into Firefox again and on a second try, the full screen mode works correctly - this happens on any video site and seems to be random. Most of the time though, once you've been kicked back to the home screen, Firefox on my phone won't even open, I have to go to settings, Apps, Firefox, force stop, clear cache and then it will work again (if I don't try to watch the video....). This has been happening for a while now, tbh if it doesn't get fixed soon I'm considering switching browsers.