Closed
Bug 1797046
Opened 2 years ago
Closed 2 years ago
[Wayland] Wrong D&D cursor position
Categories
(Core :: Widget: Gtk, defect, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
Gtk issue: https://gitlab.gnome.org/GNOME/gtk/-/issues/5287
It's because gdk_window_get_origin() returns relative coordinates instead of root ones for wl_surface based popups.
Assignee | ||
Comment 1•2 years ago
|
||
Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/5287 we can't use gdk_window_get_origin() on wl_subsurface Wayland popups.
In this patch we switch to mBounds to return popup position by nsWindow::WidgetToScreenOffset().
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/385f91a087d8 [Wayland] Use mBounds to get Wayland popup coordinates for nsWindow::WidgetToScreenOffset() r=emilio
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•