Closed Bug 1979434 Opened 5 months ago Closed 5 months ago

Pressing the [ENTER] key does not search the bookmark Sidebar/Library again with the same search term.

Categories

(Toolkit :: UI Widgets, defect)

Firefox 141
Desktop
Windows 11
defect

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- wontfix
firefox142 --- verified
firefox143 --- verified

People

(Reporter: alice0775, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression, ux-mode-error)

Attachments

(1 file)

Steps to reproduce:

  1. Open Bookmarks Sidebar Ctrl+B or Library Ctrl+O
  2. Type search term (e.g., f) in Search field and hit [ENTER]
  3. Right-click on a search result
  4. Choose Show in folder
  5. Click on the Search field to focus
  6. Hit [ENTER]

Actual results:
Nothing happens

Expected results:
Search with the term.
OR
Clear search term at step 4 like previous version.

Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=48d34ac93eaf2fbe0e36bc934af2bb1a85f508e6&tochange=263bab4209ad7a516863be36705adb00b967f85c

Good build: the search term is cleared at step4
Bad build: the search term is not cleared at step4, and this bug appears.

This is not a pure regression, but it causes obvious UX issues.

:emilio, since you are the author of the regressor, bug 1967209, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Severity: -- → S3
Priority: -- → P3
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Component: Widget → UI Widgets
Product: Core → Toolkit

The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.

Priority: P3 → --
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d12c6a61ecc5 https://hg.mozilla.org/integration/autoland/rev/c077d01c98f2 MozInputSearch.clear() should also clear the inner input value. r=reusable-components-reviewers,akulyk
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9503246 [details]
Bug 1979434 - MozInputSearch.clear() should also clear the inner input value. r=#recomp-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: Trivial regression fix
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Fix is a one liner.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9503246 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9503246 [details]
Bug 1979434 - MozInputSearch.clear() should also clear the inner input value. r=#recomp-reviewers

Approved for 142.0b8

Attachment #9503246 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: in-testsuite+
QA Whiteboard: [uplift] [qa-ver-needed-c143/b142]

Reproduced the issue with Firefox 143.0a1 (2025-07-25) on Windows 10x64 by following the steps from comment 0.
The issue is verified fixed with 143.0a1 (2025-08-07) and 142.0b8 on Windows 10x64, macOS 12 and Ubuntu 24 for the Sidebar part. After using the Show in folder option, the search input is cleared.
However, I can still reproduce the issue inside the Library after following the steps from comment 0. I have filed a follow-up for this (bug 1981925)

Status: RESOLVED → VERIFIED
Has STR: --- → yes
QA Whiteboard: [uplift] [qa-ver-needed-c143/b142] → [uplift] [qa-ver-done-c143/b142]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: