Open Bug 2059664 Opened 2 months ago Updated 1 month ago

Odd placement for X / Close button for installed extensions in Sidebar

Categories

(Firefox :: Sidebar, defect, P2)

Firefox 155
Desktop
All
defect

Tracking

()

Tracking Status
firefox154 --- affected
firefox155 --- affected

People

(Reporter: csasca, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-sidebar])

Found in

  • 155.0a1 (2026-07-30)

Affected versions

  • 154.0b3
  • 155.0a1 (2026-07-30)

Tested platforms

  • Affected platforms: Ubuntu 26, Windows 11, macOS 26

Preconditions

  • Ensure that sidebar is enabled
  • Have at least one extension installed (ex. Claude in Sidebar)

Steps to reproduce

  1. Open Sidebar
  2. Select the installed extension

Expected result

  • The Close button has the same position as in the Tabs from other devices or Open History for example

Actual result

  • The close button jumps near the upper edge

Additional notes

QA Whiteboard: [S4][qa-found-in-c155] → [S4][qa-found-in-c155][QA-5204]

This will reproduce with any extension that has a sidebar action. The panel content is loaded into a xul:window wrapped in a webext-panels.xhtml document.
I tracked the discrepancy down to the use of the --sidebar-panel-header-heading-margin-block variable in sidebar.css. This is not defined in the webext-panels.xhtml document. I guess we need to add it to webext-panels.css

Severity: -- → S3
Priority: -- → P2
Whiteboard: [fidefe-sidebar]
You need to log in before you can comment on or make changes to this bug.