-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]: Orientation lock after launching from external intents from PiP #22471
Comments
Hi @czlucius! Thank you for your report! Tested on:
Device used: Xiaomi Mi11 (Android 11). |
Thanks I think this problem was not discovered when I added my fix to fenix few months ago. |
I'd like to work on this issue. |
…om intents while in PiP
I could not reproduce on a Pixel 3 with Android 12. PipToMozilla.mp4 |
I just tried on my device, seems like the bug is no longer reproducible. |
New steps to reproduce:
Note that this may not be a problem with PiP because this happens regardless of whether the video was playing at Step 1. Thanks. |
Thank you @czlucius! Other than your above steps a scenario that would lead to the described issue:
The problem I think is somewhere in the AC's MediaSessionFullscreenFeature which seems to set screen orientation more often than expected and in some scenarios not the orientation that we'd want. |
I tested the issue on Firefox nightly 103.0a1 2022-06-08 and can confirm the issue is fixed. Devices used:
|
Steps to reproduce
Expected behaviour
On step 6, the website should open in portrait mode
Actual behaviour
The app rotates to landscape mode, and the user cannot switch to portrait mode even if the phone is in the portrait orientation. The user cannot go back to portrait mode unless he goes to the tab playing the video and exit fullscreen mode.
Device name
Samsung Galaxy S20 FE 5G
Android version
Android 11
Firefox release type
Firefox
Firefox version
94.1.2
Device logs
No response
Additional information
Screen recording below illustrates the issue.
video_2021-11-17_13-29-04.mp4
This is related to #18727, which is already closed
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: