Closed Bug 1805703 Opened 2 years ago Closed 1 year ago

[X11] Tooltips stay and never disappear when Alt+Tabbing in Linux

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr102 --- wontfix
firefox108 --- wontfix
firefox109 --- wontfix
firefox110 --- fix-optional

People

(Reporter: julienw, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1798131 +++

I'm using Gnome 3.38 on Debian Stable, and Firefox Nightly 20221213165020.

When I hover the mouse on something with a tooltip (such as a tab in the tab strip, or the hamburger menu), and then switch to another virtual desktop, the tooltip stays displayed and never disappear until I come back to the initial virtual desktop.

This happens with xwayland and without MOZ_GTK_TITLEBAR_DECORATION=system.

Here is a profile with logs: https://share.firefox.dev/3YmuaQi

Indeed I don't see the leave notify log...

Attached file aboutsupport.json

(In reply to Julien Wajsberg [:julienw] from comment #1)

Here is a profile with logs: https://share.firefox.dev/3YmuaQi

Indeed I don't see the leave notify log...

In this profile I did 2 things while the tooltip was displayed:

  • first I switched my virtual desktop
  • then after coming back to the initial desktop, I changed my foreground window with alt-tab.

In both cases the tooltip stayed displayed but I expected that it would go away.

Does it happen with pure x11?

Just tried, and yes it happens with pure x11 as well.

Set release status flags based on info from the regressing bug 1756903

No longer regressed by: 1756903

Can you confirm this only happens if you have MOZ_USE_XINPUT2=1 in the environment? I could repro with that.

Flags: needinfo?(felash)

Yeah I believe you're right.
I definitely have this in my environment.
And when I run with MOZ_USE_XINPUT2=0 then the bug doesn't appear anymore.

Somewhat confusingly I initially ran with MOZ_USE_XINPUT2= (with no value), which (I think) should have also reset the option, but according to the code this does also set the value just like using 1.

(in these tries I always had MOZ_ENABLE_WAYLAND= too, to make sure that I was using xwayland).

Flags: needinfo?(felash)

This looks like a duplicate of bug 1809029 and would then be fixed by bug 148624

Flags: needinfo?(emilio)

Julien can you confirm?

Flags: needinfo?(emilio) → needinfo?(felash)

I'm not running on wayland atm (maybe since I enabled some nvidia drivers) but I don't have the issue here.
I'll have to double check on my other computer. Leaving the NI for now.

On my second computer I use wayland and I don't see the issue on stable v118. But the fix is in v119 so I guess this isn't proof :-)
Let me try to trigger xwayland.

With xwayland, still on v118, I still don't see the issue. So I'm not sure how to confirm properly that it's been fixed in v119.
The good news is that I don't reproduce at all, be it on X11 (on my first computer) , wayland or xwayland.

All my tests have been with MOZ_USE_XINPUT2=1.

I also looked with ESR v115 and I have the same result. So I'm not sure what fixed this in my case.
But I believe we can close the bug.

Flags: needinfo?(felash)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: