Webextension add-on popup/panel/subview size is not controllable when it is in the overflow/hamburger menu
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(firefox87 affected, firefox88 affected, firefox89 affected)
People
(Reporter: mar.kolya, Unassigned)
References
(Blocks 4 open bugs)
Details
Attachments
(4 files)
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 10•7 years ago
|
||
Reporter | ||
Comment 11•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Updated•7 years ago
|
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Updated•7 years ago
|
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Updated•7 years ago
|
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 40•7 years ago
|
||
Comment 41•7 years ago
|
||
Comment 42•7 years ago
|
||
Comment 43•7 years ago
|
||
Comment 44•7 years ago
|
||
Comment 45•7 years ago
|
||
Comment 46•7 years ago
|
||
Comment 48•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 49•6 years ago
|
||
Comment 50•6 years ago
|
||
Comment 51•6 years ago
|
||
Comment 53•6 years ago
|
||
Comment 54•6 years ago
|
||
Hasn't this problem already been solved by Chrome? Why not use the same approach? Temporarily shift the extension button back up into the main toolbar on button click, so that the standard extension popup window is rendered off the main toolbar. This simplifies the design tremendously by eliminating the need for extensions to conform to the restrictions of the overflow menu dimensions and eliminates the need for navigation within the overflow menu.
Comment 56•6 years ago
|
||
As an extension developer, I just wanna say: wowwwwwwwwwwwwww
As a user: excuse me?
But I hope there is more explanation about how in the world this can be 2 yrs old.
And if there is something really hard, I think you guys should post something on MDN about things that addons developers can do to avoid this.
Comment 57•6 years ago
|
||
Agreed. I keep hoping there will be a fix. Some extensions are completely broken when placed in the overflow menu. Snooze Tabby, Form History Control.... the list goes on and the only current alternative is to have these extension icons cluttering up your toolbar.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 60•5 years ago
|
||
I just wanted to mention another addon affected by this issue: 1PasswordX.
Corresponding discussion here.
Comment 61•5 years ago
|
||
This bug is needed to be fixed for Tab Session Manager:
https://github.com/sienori/Tab-Session-Manager/issues/436#issuecomment-529357577
Comment 63•5 years ago
|
||
This bug will be more important with the new megabar or quantumbar. It was enabled automatically with firefox 71 nightly. All toolbar buttons moved into Hamburger menu on left side and the resulting popup window of the toolbar buttons have a restricted size. It is high time to set this bug as P1 with target firefox 71.
Comment 64•5 years ago
•
|
||
(In reply to TheRave from comment #63)
This bug will be more important with the new megabar […] It is high time to set this bug as P1 with target firefox 71.
The megabar won't be shipped before Firefox 72.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 66•4 years ago
|
||
Sorry for advocacy but this is still very much a problem, 4 years later.
It's a user-facing bug. It affects every single add-on developer how has to work around this. It breaks the usability of any add-on that doesn't account for this bug.
To add to that, it doesn't even make sense to restrict the size of this menu in the first place.
Please make this a higher priority.
Comment 67•4 years ago
|
||
¡Hola y'all!
Per Gijs at https://matrix.to/#/!rHHMKzcUcGkdujJeis:mozilla.org/$62k5PT4rh6KYQCUy-ZhffQl7X5l0naeYu3udYkAEWZ0?via=mozilla.org&via=matrix.org&via=fairydust.space this one bite me on 89.
So updating flags FWIW.
¡Gracias!
Alex
Updated•4 years ago
|
Comment 69•3 years ago
|
||
shortcut workaround i found while solving related issue:
@media (width: 302px) {
/* re-layout for pinned window */
}
Comment 70•3 years ago
|
||
(In reply to Dym Sohin from comment #69)
acly nvm, every fractional dpi will have different number: 302, 194, or even 0 :D
Comment 71•3 years ago
|
||
I managed to solve this with KeePassXC-Browser in a way that it reads the document.body.offsetWidth and sets the popup to default size using JavaScript if it's too small. Default size meaning there the popup size in overflow menu. Non-Firefox browsers doesn't have it, so with those the normal size is always set. The content must be of course set dynamically. Flex handles it nicely.
Also, if you set the popup width or min-width the Firefox overflow menu breaks again. And when those are not set, non-Firefox browsers break the whole popup, because those browsers expect that the popup has some size specififed. So another little script is needed to set the default size when the popup is loaded with non-Firefox browsers.
Not a perfect solution because it still sometimes shows the overflow popup content too big if the rendering is slow (for example with virtual images).
Comment 73•2 years ago
|
||
This set of issues is resolved by popping browser actions out of the overflow button when opened.
Description
•