Closed
Bug 1775017
Opened 3 years ago
Closed 3 years ago
[x11] XULPopupElement::GetOuterScreenRect is incorrect on HiDPI screens.
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
103 Branch
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(1 file)
This is due to a GTK bug, see https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4820, but prevents tests from working locally.
Assignee | ||
Comment 1•3 years ago
|
||
See the linked GTK MR (which also affects GTK3). This can be reproduced
when running tests like
browser/components/extensions/test/browser/browser_ext_popup_select_in_oopif.js
In an X11 session with a HiDPI screen.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bee17c93a75a
Don't use gdk_window_get_root_origin on popups, as those get the wrong coordinates on X11+HiDPI. r=stransky
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox103:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Comment 4•2 years ago
|
||
Looks like it's already fixed in Gtk3 - https://gitlab.gnome.org/GNOME/gtk/-/commit/c43e3c43396abcdbd6b0f6e2565f8563b52c5027
Comment 5•2 years ago
|
||
Fixed in Gtk3-3.24.35.
Comment 6•2 years ago
|
||
Unfortunately Ubuntu 22.04 has Gtk3 3.24.33 only.
Comment 7•2 years ago
|
||
Looks like this one affects X11/GDK_WINDOW_TEMP windows only which uses override redirect. We may try to not use GDK_WINDOW_TEMP on X11 platform for popups.
You need to log in
before you can comment on or make changes to this bug.
Description
•