Addon popup opening on the other side of the window for no good reason
Categories
(WebExtensions :: Frontend, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mprops, Unassigned)
Details
Attachments
(1 file)
|
123.04 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Steps to reproduce:
This is Firefox 107 on linux. What I do is put a firefox window on the side.
I have a popup icon placed on the top left corner of the browser.
Actual results:
If I place the window tiled to the left side, and then click the icon, the popup opens inside the window (good).
But if I tile the window to the right and then click the popup, it opens on the left (not good). Because it has more free space I guess, but it's awkward.
(Check pick attached)
Expected results:
The popup should have opened inside the window, since there's enough space.
Opening the popup outside the window is weird.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This isn't a core issue, the front-end is asking to open them towards the left:
https://searchfox.org/mozilla-central/search?q=bottomright+topright%22&path=&case=false®exp=false
Those could possibly use the current popup anchor position to determine whether it's preferrable to open towards the left or right.
Updated•3 years ago
|
Description
•