screen.orientation.angle is always 0 on Pixel 6a
Categories
(GeckoView :: General, defect, P2)
Tracking
(firefox108 wontfix, firefox109 fixed, firefox110 fixed)
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
ryanvm
:
approval-mozilla-beta+
|
Details | Review |
When I test screen orientation APIs on Pixel 6a, I found that angle is always 0. I guess that is is similar to bug 1754802.
Assignee | ||
Comment 1•3 years ago
|
||
When using Pixel 6a, orientation information seems to be invalid. It seems that
this is similar to bug 1754802.
So we should get the rotation information from ScreenCompat per API level.
And, when changing screen orientation by screen.orientation.lock()
, Display
Manager API observes changing, but it may get previous information at this
timing. After changing display information, onConfigureChanges
is notified,
then we an get correct information, so we have to update information via it if
newer Android.
Comment 2•3 years ago
|
||
Makoto, do you think we should uplift your fix to Beta 109? Does this bug only affect Pixel 6a devices?
Assignee | ||
Comment 3•3 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #2)
Makoto, do you think we should uplift your fix to Beta 109? Does this bug only affect Pixel 6a devices?
I cannot reproduce this on emulator image (Android 13), but I can reproduce this on Pixel 4a and Pixel 6a. I guess that some devices on Android 12+ such as bug 1754802's OnePlus device will reproduce this. If not too late, we should uplift this fix to beta.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
The patch landed in nightly and beta is affected.
:m_kato, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox109
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9308649 [details]
Bug 1806072 - screen.orientation.angle isn't updated on Pixel 6a. r=#geckoview-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: When using screen orientation API to get current screen angle, Google Pixel 4+ device doesn't get current value.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): When device is Android 12+, we use recommended API instead.
- String changes made/needed:
- Is Android affected?: Yes
Comment 8•3 years ago
|
||
Comment on attachment 9308649 [details]
Bug 1806072 - screen.orientation.angle isn't updated on Pixel 6a. r=#geckoview-reviewers
Approved for 109.0b7
Comment 9•3 years ago
|
||
bugherder uplift |
Comment 10•3 years ago
|
||
Backed out for blocking Android Components from being updated in Fenix nightly.
Backout link: https://hg.mozilla.org/integration/autoland/rev/23f995f7972e3c98a1a7d2426f9052e1692b2e42
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Backed out changeset 60558319004b out of Beta to avoid test failures in Fenix beta
Backout link: https://hg.mozilla.org/releases/mozilla-beta/rev/d3e8b8bfa752dedc3ba24b0e585b05f07d535501
Comment 12•3 years ago
|
||
Comment on attachment 9308649 [details]
Bug 1806072 - screen.orientation.angle isn't updated on Pixel 6a. r=#geckoview-reviewers
No longer going out in 109.0b7, please re-nominate if a new patch is needed in beta
Comment 13•3 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/23f995f7972e3c98a1a7d2426f9052e1692b2e42
Assignee | ||
Comment 14•3 years ago
|
||
(In reply to Atila Butkovits from comment #10)
Backed out for blocking Android Components from being updated in Fenix nightly.
Backout link: https://hg.mozilla.org/integration/autoland/rev/23f995f7972e3c98a1a7d2426f9052e1692b2e42
Could you point out failure job link?
Comment 15•3 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 17•3 years ago
|
||
Fenix's unit test seems to create GeckoScreenOrientation object on non-Android environment. I have to to add check for context.
Comment 18•3 years ago
|
||
Comment 19•3 years ago
|
||
bugherder |
Comment 20•3 years ago
|
||
Comment on attachment 9308649 [details]
Bug 1806072 - screen.orientation.angle isn't updated on Pixel 6a. r=#geckoview-reviewers
Patch has successfully made it into Fenix nightly builds now. Re-nominating for Beta consideration.
Comment 21•3 years ago
•
|
||
Comment on attachment 9308649 [details]
Bug 1806072 - screen.orientation.angle isn't updated on Pixel 6a. r=#geckoview-reviewers
Approved for Fenix/Focus 109.0b5.
Comment 22•3 years ago
|
||
bugherder uplift |
Description
•