Open Bug 1978593 Opened 26 days ago Updated 22 days ago

[hyprland] Tooltips not constrained to screen if another popup is open

Categories

(Core :: Widget: Gtk, defect)

Firefox 143
defect

Tracking

()

UNCONFIRMED

People

(Reporter: 05kraken, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(5 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0

Steps to reproduce:

I'm using Hyprland v0.50.1
Firefox Nightly 143.0a1
Hover over an interactive element, such as the close tab button or hamburger menu. Observe the tooltip or dropdown menu (e.g., History).

Actual results:

• Tooltips are only partially visible—part of the tooltip appears off-screen.
• When tooltips do appear fully on-screen, their positioning is still incorrect.
• The same positioning issues occur with hamburger menu items (such as the “History” menu).

Expected results:

Tooltips should stay fully on-screen and appear close to the cursor when hovering over elements like the close-tab button or hamburger menu.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Severity: -- → S3

Emilio, if I remember it correctly, you have worked on a similar issue the other day.

Flags: needinfo?(emilio)

Did this work before bug 1941237? Does this work in a clean profile?

Flags: needinfo?(emilio) → needinfo?(05kraken)
Summary: Tooltips not constrained to screen if another popup is open → [hyprland] Tooltips not constrained to screen if another popup is open

No, i had same issue before bug 1941237 was fixed. I was following that bug and assumed the issue had been fixed.
I tried clean profile and can still reproduce the issue.

Flags: needinfo?(05kraken)

I can reproduce but I think it's a hyprland bug. It works in all other compositors, and it works in hyprland as well if the first opened popup is an xdg_popup (as opposed to a subsurface).

e.g. if I open the context menu in a way such that it would go outside the window, then the tooltips elsewhere are positioned correctly. Given we don't do anything different for the tooltip based on whether the first is an xdg-popup, it looks to me like hyprland is somehow confused (I think it might be interpreting the tooltip position relative to the first popup rather so I'd suggest to report this to hyprland directly.

I have opened a discussion Hyprland GitHub.

I tried reproducing this in Firefox Stable, and the issue only occurs with the 'Close Tab' tooltip. It doesn't happen when hovering over context menu items like 'Refresh' or 'Bookmark'.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: