firefox -new-tab steals X11 focus as of 13.0




7 years ago
3 years ago


(Reporter: damion, Unassigned, NeedInfo)


13 Branch

Firefox Tracking Flags

(Not tracked)




7 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.27 Safari/536.11

Steps to reproduce:

I got auto-upgraded from firefox 12.0 to version 13.0.

I have firefox running with several tabs open.  I'm in a plain old X11 Window manager on a Linux based system (Ubuntu based).

In an XTerm I type:

firefox -new-tab

Or use any command line tool that makes use of my mailcap (run-mailcap

Actual results:

Despite my mouse cursor remaining my the xterm, the keyboard focus has switched to the firefox window.  It did not do this until version 13.0.  It is worth noting that Chrome has done this for ages and it's annoying there too.

This happens in All Windows managers I've tried (wmx, evilwm, twm), all follow-to-focus enabled.

Expected results:

Firefox should open a new tab but not decide to faff around with the X11 keyboard input focusing!

This is a breakage from 12.0 - 13.0 as the previous release (and going back many many years) never did this before.

As Chrome does this too, it could be that firefox has started using some similar X11 based libs (gnome/gtk/3d based?) perhaps to speed up acceleration.

Comment 1

3 years ago
Hello Reporter, thank you for taking time to report your concern. We are currently triaging all the Firefox defects and I came across this bug that you opened. The behavior that you saw is the new expected behavior and you will see it on all the operating systems with the newer versions of Firefox. If you have any other concern let me know otherwise I'll go ahead and close this issue.
Component: Untriaged → Event Handling
Flags: needinfo?(damion)
Product: Firefox → Core

Comment 2

3 years ago
Resolved-Incomplete due to time since last communication/update by reporter.
Please feel free to reopen if the error occurs in a current Firefox version.
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.