screen.orientation.type might be incorrect with Android 13
Categories
(GeckoView :: General, defect, P2)
Tracking
(firefox114 fixed)
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
From https://github.com/w3c/screen-orientation/issues/247. Pixel 6a with Android 13 sometimes returns that screen.orientation.type is incorrect value. (But angle is correct).
It seems that type uses from onConfigurationChanged on Android 13, but this change is too late...
| Assignee | ||
Comment 1•2 years ago
|
||
Although screen.orientation.lock() works correctly and orientation.type
returns correct value, when using auto-rotation, orientation.type sometimes
return previous value on Android 12+'s device.
By bug 1806072, orientation.angle returns correct value. But
Configuration.orientation may be still previous value on
onConfigurationChanged. So we don't trust this value.
I cannot reproduce this on emulator image of Android 13. This seems to be
real device only
Also, I add orientation unlock to GVE for manual test.
Comment 3•2 years ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•