Closed
Bug 1101762
Opened 10 years ago
Closed 6 years ago
RSS Icon in url bar add-on caches and overwrites toolbar customizations
Categories
(WebExtensions :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mythmon, Unassigned)
Details
In particular, using "Rss Icon in url bar" [0] causes some kinds of customizations to the toolbar to be reverted or modified. It seems that something triggered a "Save state", and then whenever the browser was closed, the tabbar would reset back to that save state. I don't know what triggered the save state, but it changed at least once during my debugging. Or maybe it isn't so complex, and I wasn't taking careful enough notes. :mconley said he suspects the pattern of toolbar manipulation the addon does [1] is the culprit. [0]: https://addons.mozilla.org/en-US/firefox/addon/rss-icon-in-url-bar/ [1]: https://addons.mozilla.org/ru/firefox/files/browse/257554/file/overlay.js#top
Comment 1•10 years ago
|
||
Hm, so I took a closer look at the code in [1], and it looks like what's happening is that on add-on init, the add-on caches the value of currentSet before it injects itself, and then on uninit, sets the toolbar back to the cached currentSet. So I suspect this was a problem even before CustomizableUI was introduced. I think this add-on needs to be altered to use CustomizableUI to add itself to the toolbar.
Component: Extension Compatibility → Add-ons
Product: Firefox → Tech Evangelism
Comment 2•10 years ago
|
||
Hey jorge - can we contact this add-on author to have them update their add-on? Or, alternatively, point to a place where I (or someone else) can submit a patch?
Flags: needinfo?(jorge)
Updated•10 years ago
|
Summary: Add-ons that use old mechanism for adding toolbar buttons can accidentally revert customizations → RSS Icon in url bar add-on caches and overwrites toolbar customizations
Comment 4•6 years ago
|
||
This was fixed in bug 1341562, but also no more legacy add-ons, so resolving as WFM.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•5 years ago
|
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•