Extensions in revamped sidebar aren't being disabled/enabled as expected
Categories
(Firefox :: Sidebar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox127 | --- | fixed |
People
(Reporter: kcochrane, Assigned: jsudiaman)
References
Details
(Whiteboard: [fidefe-sidebar])
Attachments
(2 files, 1 external file)
With a clean profile, when disabling the extension, the entrypoint disappears from the new sidebar as expected. However, the extension never seems to reappear after re-enabling the extension.
Updated STR:
Enable the sidebar.revamp pref by setting to true
Install a sidebar extension such as Sidebery
Restart the browser with the extension installed/enabled
On the manage extensions page, disable the Sidebery extension
Re-enable the extension and notice the entrypoint never returns to the sidebar
This doesn't seem to occur the same way whenever you load the browser with an extension not already installed/enabled beforehand.
Two console errors I'm seeing consistently when hitting this issue that I will attach a screenshot of. One seems to be about removing an event listener for the extension, and the other seems to occur when you attempt to re-enable the extension. sidebar is undefined [here](https://searchfox.org/mozilla-central/source/browser/components/sidebar/browser-sidebar.js#659).
Jonathan, maybe you can take a look?
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Hmm, actually, I'm not able to reproduce this on the latest build. I see my fixes for Bug 1885883 made it into central, and also, history no longer has issues causing the missing dates. Perhaps you can give it another shot?
| Reporter | ||
Comment 2•2 years ago
|
||
Yep, looks like I can no longer reproduce after updating to the latest Nightly build. Closing this one out, thanks for taking a look :jsudiaman.
| Reporter | ||
Comment 3•2 years ago
|
||
Reopening this as I'm still able to reliably reproduce this in the latest Nightly build (127.0a1 (2024-05-03)).
Updated STR:
Enable the sidebar.revamp pref by setting to true
Install a sidebar extension such as Sidebery
Restart the browser with the extension installed/enabled
On the manage extensions page, disable the Sidebery extension
Re-enable the extension and notice the entrypoint never returns to the sidebar
This doesn't seem to occur the same way whenever you load the browser with an extension not already installed/enabled beforehand.
Two console errors I'm seeing consistently when hitting this issue that I will attach a screenshot of. One seems to be about removing an event listener for the extension, and the other seems to occur when you attempt to re-enable the extension. sidebar is undefined [here](https://searchfox.org/mozilla-central/source/browser/components/sidebar/browser-sidebar.js#659).
| Reporter | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
A subtle regression was introduced by D207034, which allows for tools to be appended dynamically, but this caused extensions to be appended twice - once by initialization, and again by calling registerExtension(). Update to account for this potential race condition.
Comment 7•2 years ago
|
||
| bugherder | ||
Description
•