Closed Bug 1998360 Opened 1 year ago Closed 1 year ago

"Remove from sidebar" context menu item appears when right-clicking empty areas of sidebar

Categories

(Firefox :: Sidebar, defect, P1)

Firefox 143
defect

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox144 --- wontfix
firefox145 --- wontfix
firefox146 --- verified
firefox147 --- verified

People

(Reporter: ke5trel, Assigned: sclements)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-sidebar])

Attachments

(1 file, 2 external files)

STR:

  1. Open sidebar with vertical tabs disabled on latest Nightly 146.0a1.
  2. Right-click in sidebar blank area beneath tools.
  3. Click "Remove from Sidebar" menu item.

Expected:
"Remove from Sidebar" menu item only appears when right-clicking on something that can be removed.

Actual:
"Remove from Sidebar" menu item appears and does nothing when clicked. Does not appear when right-clicking on tools.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a2bb12561eadb4d3a49d5e3c6cfedce3ef624dca&tochange=93456979c3920e890cabd40db795ac457013bc9d

Regressed by Bug 1944719.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)
Assignee: nobody → sclements
Status: NEW → ASSIGNED
Flags: needinfo?(sclements)
Priority: -- → P2
Whiteboard: [fidefe-sidebar]
Severity: -- → S3
Priority: P2 → P1

Set release status flags based on info from the regressing bug 1944719

Pushed by sclements@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/49f28e9329ba https://hg.mozilla.org/integration/autoland/rev/741f5fa35034 Ensure that Remove from Sidebar context menu only applies to extensions r=nsharpley
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)

firefox-beta Uplift Approval Request

  • User impact if declined: Can result in a confusing experience as the "Remove from sidebar" menu option is currently visible in the right-click menu regardless of whether the mouse/focus is on an extension button (which is the only element that should have the "Remove from sidebar" option).
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See the first comment in the bug - first install an extension (sidebery or TST, for example) and then right-click anywhere in the sidebar (with horizontal tabs enabled).
  • Risk associated with taking this patch: low
  • Explanation of risk level: The patch ensures hidden state of this particular menu item is reset and adds an assert to existing test coverage.
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9527133 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Flags: needinfo?(sclements)
Attachment #9527133 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift][qa-ver-needed-c147/b146]
QA Contact: gmoldovan

I have reproduced this issue using an affected Nightly build (2025-11-05) on Win 11.

The issue is verified as fixed on latest Beta 146.0b6 and Nightly 147.0a1 under macOS 26, Ubuntu 24, Win 11.

QA Whiteboard: [uplift][qa-ver-needed-c147/b146] → [uplift][qa-ver-done-c147/b146]
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: