Closed Bug 1823020 Opened 3 years ago Closed 3 years ago

Dropdown menu list is displayed in top left corner instead of below list widget

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 --- unaffected
firefox113 --- fixed

People

(Reporter: fredbezies, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image dropdown.png

This is a bug introduced in March 17th, 2023 firefox nightly.

If you have a webpage with a dropdown menu widget, when you click on it to list every available option, list is displayed in the top left corner instead of below widget.

I added a picture to show this weird bug.

I'm using Archlinux + Gnome.

Using mozregression-gui, I found that the last working commit was 526b311a and first broken one was c15f0fb1.

A regression related to fix for bug 1809084 ?!

Keywords: regression
Regressed by: 1809084

Yeah it seems Wayland specific somehow.

Flags: needinfo?(emilio)

Set release status flags based on info from the regressing bug 1809084

Assignee: nobody → emilio
Flags: needinfo?(emilio)

I missed setting mUntransformedAnchorRect in one case, causing Wayland
popups to be wrongly positioned.

I'm going to land it since it's effectively a one-liner for a non-tested (on trunk) configuration, and it's a rather annoying bug. But Martin and/or David, if you can take a look it'd be appreciated. :)

Flags: needinfo?(stransky)
Flags: needinfo?(dshin)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f1ec765803a Set mUntransformedAnchorRect for rect-anchored popups.

It is still broken for Other Bookmarks dropdown list and for printer selection when you want to print a web page.

Well the patch hasn't made it to central yet so latest nightly still has the bug.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Flags: needinfo?(dshin)

Looks okay.

Flags: needinfo?(stransky)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: