This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Rigth click menu instantly clicks first element on pop up menu

  • 2 replies
  • 1 has this problem
  • 9 views
  • Last reply by lans9831

more options

Whenever I right click it instantly clicks first element on the pop up menu, for example when I right click a link it automatically opens that link in a new tab, other example is when I right click over no element and I got back to my previous page (like if I were clicking back button in the right click pop up menu)

Whenever I right click it instantly clicks first element on the pop up menu, for example when I right click a link it automatically opens that link in a new tab, other example is when I right click over no element and I got back to my previous page (like if I were clicking back button in the right click pop up menu)

Chosen solution

Sorry, I already found the solution, it was something weird happening with some window managers on Linux (in my case bspwm), the solution was to edit userChrome.css with this content without quotes

"#contentAreaContextMenu { margin: 10px 0px 0px 10px; }" 

If someone has this problem can try this if Safe Mode doesn't solve it.

Read this answer in context 👍 0

All Replies (2)

more options

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

Chosen Solution

Sorry, I already found the solution, it was something weird happening with some window managers on Linux (in my case bspwm), the solution was to edit userChrome.css with this content without quotes

"#contentAreaContextMenu { margin: 10px 0px 0px 10px; }" 

If someone has this problem can try this if Safe Mode doesn't solve it.

Modified by lans9831