為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

被選擇的解決方法

I found the solution.

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

I hope that helps someone in the future.

從原來的回覆中察看解決方案 👍 1

所有回覆 (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!

由 Richard Ellwood 於 修改

more options

選擇的解決方法

I found the solution.

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

I hope that helps someone in the future.