Closed Bug 1804636 Opened 3 years ago Closed 2 years ago

Allow search terms to be refined in content

Categories

(Firefox for Android :: Search, enhancement)

All
Android
enhancement

Tracking

()

VERIFIED FIXED
125 Branch
Tracking Status
firefox125 --- verified

People

(Reporter: aputanu, Assigned: royang)

References

Details

(Whiteboard: [fxdroid])

Attachments

(3 files)

In https://github.com/mozilla-mobile/firefox-android/pull/124 we observed that for search engine result pages which use onLocationChange to change the URL when the user interacts with the results, the search term is preserved. This can lead to confusing situations (e.g. because the page does not trigger another load request, the search term is not cleared and the user can navigate to content that is no longer relevant to the search term, while still having it saved when interacting with the toolbar and switching to edit mode).

We should investigate possible approaches to avoid this case, while also preserving the search terms for all search engine result pages which still contain relevant content to the initial search. We could use parseSearchTerms as mentioned in comment.

Severity: -- → N/A

This bug was opened as a drawback discussed in this PR.

When using Youtube or Reddit as search engines, because these sites use onLocationChange when navigating, they could lead the user to a page not related to their initial search without the toolbar changing it's content. This is only occurs for Youtube and Reddit, but could also reproduce on other user-added search engines.

Should we prioritize this bug or mark it as a potential blocker for Unified search @Joe?

Flags: needinfo?(jmahon)
Assignee: nobody → aputanu
Status: NEW → ASSIGNED
Whiteboard: [fxdroid]

:aputanu I confess I'm not sure I totally understand the nature of the issue that's being described here, but it doesn't seem like it would need to be a blocker for the Unified Search feature, from what I can tell. That said, I'm happy to defer to you, :mavduevskiy, or :verdi if any of you believe this should be a blocker for that.

I do think we should work on resolving it, regardless, though - and it looks like you might have already started taking a look into it (which is great!)

Flags: needinfo?(jmahon)
Depends on: 1837601

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: aputanu → nobody
Status: ASSIGNED → NEW
Assignee: nobody → royang
Status: NEW → ASSIGNED

Authored by Alexandru2909
https://github.com/mozilla-mobile/firefox-android/commit/11821d557bdbbc6bf39c7b565cd910b971dc230e
[main] Bug 1804636 - Allow search terms to be refined in content

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

For QA verification, perform actions similar to attached video but the result is that the search term in toolbar should be cleared after user action.

Flags: qe-verify+
Attached video 1804636.mp4

Verified as fixed on the latest Fenix Nightly 125.0a1 from 2/26 with Google Pixel 6 (Android 14).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: