Closed Bug 1975391 Opened 11 months ago Closed 2 months ago

Unable to delete selected history entries from sidebar

Categories

(Firefox :: Sidebar, defect, P2)

defect

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox140 --- wontfix
firefox141 --- wontfix
firefox142 --- wontfix
firefox151 --- fixed

People

(Reporter: cgeorgiu, Assigned: stsofela, Mentored)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-sidebar][outreachy-sidebar-2026])

Attachments

(1 file)

Found in

  • Beta 141.0b5

Affected versions

  • Firefox 140.0.2
  • Beta 141.0b5
  • Nightly 142.0a1

Tested platforms

  • Affected platforms: Win 11, macOS 15 and Ubuntu 24

Preconditions

  • sidebar.revamp = true
  • have some history in Firefox

Steps to reproduce

  1. Open the History sidebar.
  2. Click on a website from the history list, then press Ctrl + A to select all history entries.
  3. Press the "Delete" key from the keyboard.

Expected result

  • All history entries are deleted.

Actual result

  • The history entries cannot be deleted. Nothing happens when pressing the "Delete" key.

Regression range

  • Not a regression. It appears that this was not properly implemented in the new sidebar feature.

Additional notes

Severity: -- → S3
Priority: -- → P2
Whiteboard: [fidefe-sidebar]
Duplicate of this bug: 2011000

Is this bug open to Outreachy applicants? If so, please assign it to me.

Currently, history entries in the sidebar cannot be deleted with the delete key because the primaryActionHandler event handler, which processes keydown events on the sidebar-tab-row, is not configured to handle delete keyboard events.

This patch updates primaryActionHandler to dispatch a fxview-tab-list-secondary-action event when the delete key is pressed on a sidebar-tab-row. This enables history entry deletion through the delete key, as implemented in sidebar-history.mjs and HistoryController.sys.mjs.

Assignee: nobody → stsofela
Status: NEW → ASSIGNED
Attachment #9566468 - Attachment description: Bug 1975391 - Add logic to allow users to delete sidebar history entries using the delete key. r=kcochrane,nsharpley → Bug 1975391 - Add logic to allow users to delete sidebar history entries using the keyboard. r=kcochrane,nsharpley
Mentor: kcochrane
Whiteboard: [fidefe-sidebar] → [fidefe-sidebar][outreachy-sidebar-2026]
Pushed by kcochrane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fc70739145c6 https://hg.mozilla.org/integration/autoland/rev/58e6ca4c43a3 Add logic to allow users to delete sidebar history entries using the keyboard. r=kcochrane,fxview-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
QA Whiteboard: [qa-found-in-b141] → [qa-found-in-b141] [qa-triage-done-c152/b151] [qa-ver-needed-c152/b151]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: