Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox menus vanish when the mouse moves onto them

more options

When I click on a Firefox menu (File, Edit, View, etc.) or the hamburger menu, or a drop-down menu on a web page, the menu appears. Then, when I move the mouse to hover over the menu, the menu vanishes. If, instead, I hold down the mouse button, I can move over the menu without it disappearing.

I'm using a focus-follows-mouse window manager (VTWM) and I think, somehow, Firefox is getting a focus change message when the mouse moves onto the menu. I think this because of the way the Firefox titlebar flickers from showing it's the active window to the inactive window, then active again, once the menu disappears.

Please advise.

Thanks, Richard

When I click on a Firefox menu (File, Edit, View, etc.) or the hamburger menu, or a drop-down menu on a web page, the menu appears. Then, when I move the mouse to hover over the menu, the menu vanishes. If, instead, I hold down the mouse button, I can move over the menu without it disappearing. I'm using a focus-follows-mouse window manager (VTWM) and I think, somehow, Firefox is getting a focus change message when the mouse moves onto the menu. I think this because of the way the Firefox titlebar flickers from showing it's the active window to the inactive window, then active again, once the menu disappears. Please advise. Thanks, Richard

Chosen solution

I found the solution.

Go to abount:config and set widget.gtk.grab-pointer to 1.

I hope that helps someone in the future.

Read this answer in context 👍 1

All Replies (3)

more options

Change Desktop and see if you have the same issues. X11 or Wayland? Do you have the same issue with Firefox in Safe Mode? https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode#w_how-to-start-firefox-in-4troubleshoot-modesf5safe-modesf

more options

I'm using X11 with the window manager VTWM, and no desktop environment. The issue doesn't occur on any full desktop system I've tried. I tried safe mode and that has no affect on the issue.

It seems that when a transient window is created, such as a drop-down menu, focus is switched to it when the mouse enters it, thus blurring the main Firefox window. Some UI code must have been recently added that tells Firefox to close any open transients when the main window loses focus.

Thanks!

Modified by Richard Ellwood

more options

Chosen Solution

I found the solution.

Go to abount:config and set widget.gtk.grab-pointer to 1.

I hope that helps someone in the future.