Closed Bug 1785072 Opened 2 years ago Closed 2 years ago

[Wayland] Use correct positioning for GDK_WINDOW_TYPE_HINT_POPUP_MENU/GDK_WINDOW_TYPE_HINT_UTILITY

Categories

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

defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Use correct positioning for GDK_WINDOW_TYPE_HINT_POPUP_MENU/GDK_WINDOW_TYPE_HINT_UTILITY.

For gtk_window_move() GDK_WINDOW_TYPE_HINT_POPUP_MENU uses absolute coordinates while GDK_WINDOW_TYPE_HINT_UTILITY/GDK_WINDOW_TYPE_HINT_TOOLTIP relative ones.

https://gitlab.gnome.org/GNOME/gtk/-/issues/4308

According to https://gitlab.gnome.org/GNOME/gtk/-/issues/4308 different popup types uses different coordinate systems so we need to cover that.
Use GTK_WINDOW_TYPE_HINT instead of internal Firefox popup type.

Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/f1558e88463b [Wayland] Use relative position coordinates for GDK_WINDOW_TYPE_HINT_UTILITY/GDK_WINDOW_TYPE_HINT_TOOLTIP popups when moved by gtk_window_move() r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: