Open Bug 1799324 Opened 3 years ago Updated 1 year ago

Addon popup opening on the other side of the window for no good reason

Categories

(WebExtensions :: Frontend, enhancement, P3)

Firefox 107
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mprops, Unassigned)

Details

Attachments

(1 file)

Attached image popupscreen.jpg

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.

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

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&regexp=false

Those could possibly use the current popup anchor position to determine whether it's preferrable to open towards the left or right.

Component: Widget: Gtk → Frontend
Product: Core → WebExtensions
Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: