Orientation is not respected when loading wallpapers
Categories
(Firefox for Android :: Homepage, defect, P3)
Tracking
()
People
(Reporter: cpeterson, Assigned: rebecatudor273)
References
Details
(Whiteboard: [fxdroid])
Attachments
(4 files)
From github: https://github.com/mozilla-mobile/fenix/issues/27938.
Steps to reproduce
- Have a wallpaper selected
- Rotate the device into landscape
Expected behaviour
The landscape version of a wallpaper should be used
Actual behaviour
The landscape version of a wallpaper is never used.
This is because
resources.configuration.orientationdoes not seem to be updated during the orientation change inDefaultLoadBitmapUseCasewhich can be observed in debug mode. I would guess this is due toHomeActivitymanually handling orientation changes. See the line:android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout"is the Android Manifest for context.Device name
No response
Android version
Any
Firefox release type
Firefox
Firefox version
Any recent version
Device logs
No response
Additional information
No response
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Duplicate of Bug 1827107?
Comment 4•2 years ago
|
||
Authored by https://github.com/RebecaTudor
https://github.com/mozilla-mobile/firefox-android/commit/1d177e7e78d027e8ab32cedf0fc68316787d7454
[main] Bug 1809798 - Loads the right wallpaper for the right orientation
| Assignee | ||
Comment 5•2 years ago
|
||
This fix resolved the problem for android versions <=12. For android 13+, this issue was described in a new ticket Bug 1875803.
Comment 6•2 years ago
|
||
This issue seems to be fixed when testing on phone: Redmi 9C NFC (Android 10).
However using a tablet the orientation doesn't seem to be respected when turning from portrait to landscape the first time.
Tested tablet: Redmi Pad SE (Android 12).
Tested build: Nightly 124.0a1 (from 2024-01-23).
For the above mentioned reason, I will reopen the ticket.
Comment 7•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Comment 9•2 years ago
|
||
Authored by https://github.com/RebecaTudor
https://github.com/mozilla-mobile/firefox-android/commit/3d759e344795e5c8fe536ef511f9c2045f563b73
[main] Bug 1809798 - Loads the right wallpaper when changing orientation
Comment 10•2 years ago
|
||
The patch landed in nightly and beta is affected.
:rebecatudor273, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox123towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Verified as fixed on latest Nightly 124.0a1 from 02/06. The wallpaper is correctly displayed when changing the orientation.
Tested with:
- Lenovo Yoga Tab 11 (Android 12)
- Huawei MediaPad M2 (Android 5.1.1)
- Samsung Galaxy S22 Ultra (Android 14)
- OPPO A15s (Android 10)
- LG G7 fit (Android 8.1.0)
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 14•2 years ago
|
||
Since there was a regression in the first fix let's let this one bake. I don't think there is a rush to release this one.
Description
•