Closed Bug 767316 Opened 12 years ago Closed 8 years ago

firefox -new-tab steals X11 focus as of 13.0

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

13 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: damion, Unassigned, NeedInfo)

Details

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 http://anyurl.com/

Or use any command line tool that makes use of my mailcap (run-mailcap http://url.com).



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.
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
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.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.