Closed Bug 2014258 Opened 1 month ago Closed 1 month ago

Search bar history entries can no longer be removed

Categories

(Firefox :: Search, defect, P1)

defect

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox147 --- unaffected
firefox148 --- disabled
firefox149 --- verified

People

(Reporter: phorea, Assigned: mbeier)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(1 file)

Notes

  • Not reproducible when deleting search history items from address bar.
  • The search bar behaviour is similar to legacy search bar, where only Shift+Del deletes the history items. The removed records from address bar are still displayed in the search bar.

Found in

  • Firefox Nightly 149.0a1 2026-02-02;

Affected versions

  • Firefox Nightly 149.0a1;

Affected platforms

  • Windows 11;
  • Ubuntu 22;
  • macOS 15;

Unaffected platforms

  • N/A;

Steps to reproduce

  1. Add the search bar to toolbar in Customize menu.
  2. Perform a few searches from search bar or address bar.
  3. Click the searchbar with an empty input (or press the Down arrow button) to see the recent searches.
  4. Select a recent search suggestion from the dropdown and click on 'Remove from History' from 3-dots menu.
  5. Open again the dropdown and Shift+Del another recent history entry.

Expected result

  • Entries are removed from search bar and address bar panels.

Actual result

  • Item is not cleared from search bar history, opening the dropdown again will display the previously deleted items.
  • Entries are cleared from address bar Recent searches section.

Regression range

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mbeier)
Assignee: nobody → mbeier
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(mbeier)
Priority: -- → P1
Whiteboard: [sng]
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/54ddfcf003e8 https://hg.mozilla.org/integration/autoland/rev/7d406f910a6a Ensure recent searches can be forgotten using results menu in new searchbar. r=urlbar-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [S3] [QA-4616] [qa-found-in-c149] → [S3] [QA-4616] [qa-found-in-c149] [search] [qa-triage-done-c149/b148][qa-ver-needed-c149/b148]

Verified that the Results menu removes previously searched items using the latest Nightly 149.0a1, across platforms.

However, on macOS, the Shift + Delete shortcut does not remove the highlighted search history entry.
I also tried Shift + Fn + Delete, but it does not work either.
This appears to be either macOS-specific behavior or a regression, since the shortcut works on Windows/Linux. Moritz, do you have any other ideas for this specific case? Thank you!

Status: RESOLVED → VERIFIED
QA Whiteboard: [S3] [QA-4616] [qa-found-in-c149] [search] [qa-triage-done-c149/b148][qa-ver-needed-c149/b148] → [S3] [QA-4616] [qa-found-in-c149] [search] [qa-triage-done-c149/b148][qa-ver-done-c149/b148]
Flags: needinfo?(mbeier)

The key labeled "Delete" on the builtin keyboard of MacBooks is what we consider backspace, but Fn + Delete should send the actual delete.

When I press Shift + Fn + Delete(Backspace) on the builtin keyboard, it successfully removes the history entry (on the latest Nightly).
On my external (non-Apple) keyboard, Shift + Fn + Backspace does not work because it has a dedicated Delete key which does successfully remove the history entry.

Which keyboard did you use?

Flags: needinfo?(mbeier) → needinfo?(phorea)

I use the builtin keyboard on a MacBook Pro.
Shift + Delete works for address bar entries.

LE: I believe I had some Firefox build updates issues (caused by bug 2016721) on Friday when I wrote the previous comment.
The shortcut works now for search bar entries on latest Nightly. Sorry for the noise.

Flags: needinfo?(phorea)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: