Open Bug 1794576 Opened 3 years ago Updated 3 years ago

[wayland] Hover tooltip constrained by screen limits covers item being hovered instead of being offset

Categories

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

Firefox 107
defect

Tracking

()

Tracking Status
firefox107 --- affected

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

  1. Start with MOZ_ENABLE_WAYLAND=1 on Ubuntu 22.04.
  2. Open a video in Picture-in-Picture.
  3. Move the PiP window to the bottom edge of the screen.
  4. Hover the cursor over the PiP playback controls.

The hover tooltips appear at the cursor position instead of being vertically offset like with X11/XWayland.

Yes, I tried to fix that but without luck. The anchor is set here but I didn't manage to get the correct placement:
https://searchfox.org/mozilla-central/rev/dbb83041d986f8de513d98099f66fed257565d9e/widget/gtk/nsWindow.cpp#2427

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: