Closed Bug 1908318 Opened 2 years ago Closed 2 years ago

[Toolbar redesign] Default navbar shown instead of the custom tab's one after rotating the screen

Categories

(Firefox for Android :: Toolbar, defect, P1)

All
Android
defect

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
firefox130 --- verified

People

(Reporter: petru, Assigned: petru)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 external file)

After rotating the screen from portrait to landscape and back the default navigation bar is shown instead of the one configured for custom tabs.
This means different UI / functions / menu.
Can be observed more easily in the attached video by focusing on the "open in firefox" button which gets replaced with the "add new tab" button.

Summary: [Toolbar redesign] Other navbar shown instead of the custom tab's one after rotating the screen → [Toolbar redesign] Default navbar shown instead of the custom tab's one after rotating the screen

We benefit from the toolbar being owned by BaseBrowserFragment in that it is by default hidden
when in landscape but we need to also reinitialize it on top of the default behavior whenever
the screen is rotated while showing a custom tab.

Pushed by plingurar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8a0e36ad141f Reinitialize also the custom tab's navigation bar after the screen rotates r=android-reviewers,mavduevskiy
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Flags: qe-verify+
Attached video CustomTab_Navbar.mp4 —

Verified as fixed in latest Nightly 130.0a1 from 07/30. The custom tab's navigation bar remains displayed when changing the orientation.
Tested with the following devices:

  • Google Pixel 8 Pro (Android 14)
  • Xiaomi 12 Pro (Android 13)
  • Samsung Tab S8 Ultra 5G (Android 14)
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1913995
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: