Closed Bug 1925679 Opened 2 years ago Closed 2 years ago

[Toolbar Redesign] Custom Tabs Private Browsing mode theme not respected by Navigation toolbar on orientation change

Categories

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

All
Android
defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: tchoh, Assigned: harrisono)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][toolbar-redesign-beta-blocker] )

Attachments

(1 file, 3 external files)

Attached image image.png —

Steps to Reproduce:

  1. Set Nightly as the default browser.
  2. Set the app to open custom tab in private.
  3. Configure settings to open new tabs in Nightly.
  4. Open a custom tab within the app.

As a note, my System theme is Light and my app theme follows system theme.

Expected Result: The custom tab opens in Nightly with the correct theme, including the navbar matching Nightly's expected color scheme.

Actual Result: The custom tab opens in Nightly, but the navbar appears white, preventing proper visibility of the expected colors.

Verified this is occurring for me on rotating the device once or max twice!
Nightly 133.0a1 of 18th October, 2024.

Whiteboard: [fxdroid][group3]
Severity: -- → S3
Priority: -- → P2
Whiteboard: [fxdroid][group3] → [fxdroid][group3][toolbar-redesign-beta-blocker]
Assignee: nobody → hoglesby
Status: NEW → ASSIGNED

This seems to have been fixed sometime in the past couple of days.

Except now there's a problem with the Custom Tabs Navigation Toolbar not respecting the private browsing theme if Fenix is set to open links in private browsing mode.

I've narrowed it down to FirefoxTheme not having the proper color set for layer1 after an ExternalAppBrowserFragment recomposes when orientation changes. I'll investigate further.

Summary: [Toolbar Redesign] Navigation bar and buttons are incorrect → [Toolbar Redesign] Custom Tabs Private Browsing mode theme not respected by Navigation toolbar on orientation change

This issue will be fixed by this PR for a separate ticket:
https://phabricator.services.mozilla.com/D223253

Bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1910628

Pushed by sarahkhan1107@hotmail.com: https://hg.mozilla.org/integration/autoland/rev/b4bd4e0e79d6 Fix theme issue of navbar on rotation in custom tab r=android-reviewers,petru,harrisono
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Regressions: 1931579

This reverts commit 92eef53516ab11a86872ae6127d76f678a1e99d2.

Pushed by sarahkhan1107@hotmail.com: https://hg.mozilla.org/integration/autoland/rev/abc9d6c4c2d0 Revert "Bug 1925679 - Fix theme issue of navbar on rotation in custom tab" r=android-reviewers,007,harrisono
Pushed by hoglesby@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebd70faa8d9a Fix Custom Tab private theme for Navigation Bar on orientation change r=android-reviewers,skhan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: