Closed Bug 1809798 Opened 3 years ago Closed 2 years ago

Orientation is not respected when loading wallpapers

Categories

(Firefox for Android :: Homepage, defect, P3)

All
Android
defect

Tracking

()

VERIFIED FIXED
124 Branch
Tracking Status
firefox123 --- wontfix
firefox124 --- verified

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

  1. Have a wallpaper selected
  2. 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.orientation does not seem to be updated during the orientation change in DefaultLoadBitmapUseCase which can be observed in debug mode. I would guess this is due to HomeActivity manually 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.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)
Priority: -- → P3
Assignee: nobody → rebecatudor273
Status: NEW → ASSIGNED
Whiteboard: [fxdroid]

Duplicate of Bug 1827107?

Severity: -- → S2
See Also: → 1827107
Severity: S2 → S3
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
See Also: → 1875803

This fix resolved the problem for android versions <=12. For android 13+, this issue was described in a new ticket Bug 1875803.

Flags: qe-verify+

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.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Flags: qe-verify+
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: 123 Branch → 124 Branch

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-firefox123 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(rebecatudor273)
Flags: needinfo?(rebecatudor273) → qe-verify+

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)
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 1875803

Should we uplift this for 123?

Flags: needinfo?(jboek)

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.

Flags: needinfo?(jboek)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: