Closed Bug 1771104 Opened 2 years ago Closed 2 years ago

[Wayland] Utility popups may be invisible or dislocated

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox100 --- disabled
firefox101 --- disabled
firefox102 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Utility popups may be invisible or dislocated due to https://gitlab.gnome.org/GNOME/gtk/-/issues/4308

We already have a workaround for it but it does not handle utility popups.

This is and updated workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/4308
When Gtk moves popups with gtk_window_move(), popup coordinates with GDK_WINDOW_TYPE_HINT_POPUP_MENU tyte are considered as 'global' i.e. relative to toplevel window.

Depends on D147266

Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/cea52a425100
[Wayland] Calculate a relative position for anchored popups r=emilio
https://hg.mozilla.org/integration/autoland/rev/76199acb3425
[Wayland] Use global popup position only for popups of GDK_WINDOW_TYPE_HINT_POPUP_MENU type r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

Wayland is disabled by default on release if I'm not mistaken?

(In reply to Ryan VanderMeulen [:RyanVM] from comment #6)

Wayland is disabled by default on release if I'm not mistaken?

Yes, in Mozilla official builds. But it's used by distros where it's enabled by default.

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

Attachment

General

Created:
Updated:
Size: