Sidebar header text for extensions is not shown when `Open tools from sidebar` is unchecked
Categories
(Firefox :: Sidebar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox156 | --- | wontfix |
| firefox157 | --- | wontfix |
| firefox158 | --- | fixed |
People
(Reporter: Fanolian+BMO, Assigned: kcochrane)
References
(Regression)
Details
(Keywords: nightly-community, regression, reproducible, Whiteboard: [fidefe-sidebar])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:158.0) Gecko/20100101 Firefox/158.0
Build ID: 20260916202159
Extension name is not shown in the sidebar header when Open tools from sidebar, introduced in bug 2047653, is unchecked.
Steps to reproduce
- In a new profile, install an extension that utilise sidebar, e.g.
https://addons.mozilla.org/en-GB/firefox/addon/tree-style-tab/
https://addons.mozilla.org/en-GB/firefox/addon/contextsearch-web-ext/
https://addons.mozilla.org/en-GB/firefox/addon/firemonkey/ - Enable sidebar.
- Uncheck
Open tools from sidebar. (Or setsidebar.visibilitytohide-launcherin about:config.) - Click the sidebar header and select an installed extension.
- Observe the header text.
Actual result
The extension name is not shown. It is available in the panel switcher (dropdown menu) though.
Please refer to the attached screenshot.
Expected result
The header shows the name of extension.
In hide-launcher mode sidebar-panel-header.css hides .sidebar-panel-title, so the visible header text is no longer the heading but sidebar-panel-switcher's own label, which sidebar-panel-switcher.mjs derives by matching its view against SidebarController.getRevampSwitcherItems(). Extension panels instantiate the header from webext-panels.xhtml with no view attribute and webext-panels.js sets only heading, so the lookup matches nothing and the label falls back to ""; the same mismatch also leaves the current extension unchecked in the dropdown.
Fix: Have the switcher fall back to SidebarController.currentID when its view is empty, rather than plumbing view in from webext-panels.js, because sidebar-panel-header.css deliberately keys extension-panel padding on the absence of view (bug 2062881). Then extend browser_hide_sidebar.js, whose switcher-label coverage is built-in panels only, with an extension panel case.
Suggested severity: S3. Every extension panel header renders empty in this mode, but nothing is functionally blocked and the panel name is still visible in the switcher dropdown, and reaching it requires unchecking the non-default Open tools from sidebar setting with horizontal tabs.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-wrong-file, ai-triage-wrong-cause, ai-triage-hallucination, ai-triage-out-of-scope, ai-triage-wrong-fix, ai-triage-shallow-fix.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
Updated•12 days ago
|
| Assignee | ||
Comment 2•12 days ago
|
||
| Assignee | ||
Comment 3•12 days ago
•
|
||
This is occurring on all platforms
Updated•12 days ago
|
| Assignee | ||
Updated•12 days ago
|
Comment 5•11 days ago
|
||
| bugherder | ||
Comment 6•11 days ago
|
||
The patch landed in nightly and beta is affected.
:kcochrane, please make an uplift decision for beta:
- Nominate the patch for beta uplift approval if the fix should be included in this release, or
- Set
status-firefox157towontfixif the fix can wait for the next release.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•10 days ago
|
Description
•