Wrong (or missing) style on overflowed extension widgets pinned in the toolbar
Categories
(WebExtensions :: General, defect, P1)
Tracking
(firefox109 fixed)
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: willdurand, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(2 files)
STR
- Install an extension like uBlock
- Pin it to the toolbar
- Resize window to overflow the uBlock button in the unified extensions panel
- Unpin uBlock in the panel
- Increase the size (width) of the window
Expected
We should not see the extension widget in the toolbar, the extension should stay in the unified extensions panel.
Actual
See screenshot, when we resize the window, we see an extension in the toolbar and the style is off.
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Re-reading the STR above, I am not sure this is just a pure CSS issue to be honest..
Assignee | ||
Comment 2•1 year ago
|
||
Looks like the cui-areatype
isn't being properly set to toolbar
after the item underflows. Investigating.
Assignee | ||
Comment 3•1 year ago
|
||
It turns out that this is related to bug 1798377, in that the internal collection of overflowed items isn't being properly updated when browser action widgets are being moved out of the overflowable toolbar while overflowed.
Assignee | ||
Comment 4•1 year ago
|
||
We have some internal bookkeeping within OverflowableToolbar to remember the state of things that
have overflowed, like how wide the window needs to be before they can be moved back, etc. When an
item is removed from an overflowable toolbar while overflowed, we update that internal bookkeeping
so that OverflowableToolbar doesn't accidentally try to move those items back into the toolbar
when the window becomes wide enough again.
We've added a new overflow list for extension buttons, but we weren't updating our internal accounting
when items had been overflowed into that list. This patch fixes that.
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b51c28937ff Update internal OverflowableToolbar state when unpinning an extension button from the toolbar when overflowed. r=willdurand,Gijs
Comment 6•1 year ago
|
||
bugherder |
Description
•