Closed
Bug 1783437
Opened 3 years ago
Closed 3 years ago
[Wayland] Tooltips may not show if there's another popup window opened
Categories
(Core :: Widget: Gtk, defect, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
105 Branch
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(4 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
Bug 1783437 [Wayland] Move move-to-rect config to nsWindow::WaylandPopupCheckAndGetAnchor() r?emilio
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Tooltips may not show if there's another popup window opened due to wrong popup coordinates or wrong anchor.
Assignee | ||
Comment 1•3 years ago
|
||
- In order to get tooltip position we need to use gtk_window_get_position() as it cover case when GdkWindow is not placed yet.
- Use both gdk_window_move()/gdk_window_move() to reset widget position as a workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/4071.
- Apply the workaround to tooltips only as it affects only temporary windows.
Assignee | ||
Comment 2•3 years ago
|
||
Move-to-rect fails to position and show a popup when popup anchor is outside of its parent window.
In such case we need to use plain move.
Depends on D153859
Assignee | ||
Comment 3•3 years ago
|
||
Move popup window move-to-rect config (anchor canculation, check if we need it and can use it) to a new method WaylandPopupCheckAndGetAnchor().
Depends on D153860
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D154012
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/47ebd9b76062
[Wayland] Use GtkWindow to check and place tooltips r=emilio
https://hg.mozilla.org/integration/autoland/rev/c9411a52753e
[Wayland] Don't use move-to-rect when popup and its parent are not adjacent r=emilio
https://hg.mozilla.org/integration/autoland/rev/b172d1e6cffa
[Wayland] Move move-to-rect config to nsWindow::WaylandPopupCheckAndGetAnchor() r=emilio
https://hg.mozilla.org/integration/autoland/rev/cafd5d446af8
[Wayland] Make sure we don't use rectangle anchor with zero width/height r=emilio
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/47ebd9b76062
https://hg.mozilla.org/mozilla-central/rev/c9411a52753e
https://hg.mozilla.org/mozilla-central/rev/b172d1e6cffa
https://hg.mozilla.org/mozilla-central/rev/cafd5d446af8
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox105:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•