Tweak popup alignment so that Wayland mirroring works bettter.
Categories
(Toolkit :: UI Widgets, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When you have a wayland popup aligned to the bottomcenter topleft as we have e.g. for the library menus, we can't come up with a request such that we end up mirroring correctly, see bug 1784876 for an example.
But we no longer have arrows on the panels and we really want the sides to align, so we can change the alignment properties and remove the large negative margins, which would allow Wayland to properly mirror them.
Assignee | ||
Comment 1•2 years ago
|
||
When these panels had arrows, I guess the bottomcenter topleft alignment
made sense so that you could precisely align the arrow, but that's not
what we do now.
Don't use bottomcenter / leftcenter / rightcenter, since we really want
the sides to align.
This shouldn't change behavior on any platform except Linux + Wayland,
where the alignment looks good now in the case of bug 1784876.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Backed out for causing failures at browser_ext_browserAction_popup_resize_bottom.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/61aabba8c2a349dede05dc3a264e7681bd78eb7f
Failure log: https://treeherder.mozilla.org/logviewer?job_id=389282286&repo=autoland&lineNumber=3565
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Description
•