Closed Bug 2075500 Opened 2 months ago Closed 1 month ago

[Google Lens] Onboarding card's link to "Google Lens settings" just drops you to home screen

Categories

(Firefox for Android :: Search, defect)

All
Android
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox157 --- unaffected
firefox158 --- unaffected
firefox159 --- verified

People

(Reporter: dholbert, Assigned: harrisono)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fxdroid][android-activation-trust])

Attachments

(2 files, 1 obsolete file)

Steps to reproduce

  1. Start Firefox Nightly 159 for Android, with a fresh profile (to see Google Lens onboarding)
  2. Tap the URL bar
  3. Tap the Google Lens icon at the right side
  4. On the onboarding card that appears, tap "Google Lens settings"

Expected behavior

User should be taken to Google Lens settings.

Actual behavior

The Settings page very briefly starts to animate on-screen, and then it disappears and the user is dropped to their new-tab home screen.

Device information

  • Firefox version: 159.0a1 2026-09-24
  • Android device model: Pixel 6a
  • Android OS version: 17

Any additional information?

If I perform the same STR in Firefox Beta 157.0b5 (latest beta-channel version that play store will give me), I get EXPECTED RESULTS. So this is a regression since v157. Not yet sure if 158 is affected.

Blocks: 2019075
Attached video screencast —

Here's a screenshot taken from t=3s in that screencast. We're trying to show the settings UI, but we trip up and fail for some reason (immediately after this screenshot, we're taken to a new-tab as discussed in comment 0).

harrisono perhaps you could take a look? (Hopefully you can reproduce this on your end too?)

Flags: needinfo?(hoglesby)

(In reply to Daniel Holbert [:dholbert] from comment #0)

Any additional information?

If I perform the same STR in Firefox Beta 157.0b5 (latest beta-channel version that play store will give me), I get EXPECTED RESULTS. So this is a regression since v157. Not yet sure if 158 is affected.

(Ah right, version 158 is what was Nightly ~24 hours ago; we just landed the Nightly-version-bump to 159 in preparation for the upcoming release-day. So most likely 158 is also affected, unless this happened to literally regress today after the version-bump (which is a pretty small window)).

Assignee: nobody → hoglesby
Status: NEW → ASSIGNED
Flags: needinfo?(hoglesby)
Whiteboard: [fxdroid][android-activation-trust]

Notes after investigation:

The Lens settings deep link itself works: it opens Search settings. The bounce back to home comes from AboutHomeBinding, which navigates to the homepage when the selected tab's URL becomes about:home.

With Homepage as New Tab (enabled by default on Nightly since bug 1977695, right after the 158 version bump), the selected tab on the homepage is an about:home tab. LensCameraActivity stops HomeActivity, and AboutHomeBinding re-subscribes when HomeActivity starts again. It then treats the unchanged about:home URL as a new value. The deep link has already navigated to Search settings, which isn't on the binding's exclusion list, so the binding navigates back to home. Beta 157 doesn't have HNT enabled, which is why it isn't affected.

This isn't specific to Lens. Any screen outside the binding's exclusion list should bounce the same way after the app is backgrounded and foregrounded while an about:home tab is selected. Deep links into a stopped HomeActivity, such as the privacy report notification, should too.

The fix: AboutHomeBinding keeps the last URL it saw across stop and start. After a restart it only navigates if the URL actually changed. Cold-start behavior is unchanged.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(skhan)
Attachment #9648579 - Attachment description: Bug 2075500 - Avoid redirecting to the homepage when HomeActivity resumes on an about:home tab. r?#android-reviewers → Bug 2075500 - Avoid redirecting in `AboutHomeBinding` when deeplinks to settings are used. r?#android-reviewers
Attachment #9648579 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED

Verified fixed -- I tested Nightly 2026-10-05 and it gives the expected behavior.

Status: RESOLVED → VERIFIED
Flags: needinfo?(skhan)

I also tested 158 beta (with Google Lens manually enabled in secret settings), and I wasn't able to repro there -- likely because there's some connection to homepage-as-new-tab or some other feature that's enabled in Nightly but disabled by default for beta/release.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: