Red Hat Bugzilla – Bug 1252971
Keyboard events sent to non-focus firefox window
Last modified: 2016-07-19 13:29:22 EDT
Created attachment 1062066 [details]
keyboard events to out of focus window
Description of problem:
Haven't figured out what triggers the behavior, but occasionally keyboard events for one of my Firefox windows get sent to a different firefox window. Typing puts text in the last selected area of the non-focus window even after selecting an element on the in-focus window. Same goes for firefox commands (i.e. new/close tab).
Please see attached video for a demonstration.
Version-Release number of selected component (if applicable):
As I was filing this ticket I noticed 39.0.3-1.fc22 is available. Figured I would file anyways. Will update if I see the behavior again.
Steps to Reproduce:
Steps to Reproduce:
1. Open three separate Firefox windows
2. Open Google Chrome
3. Focus on one firefox window
4. Click to google chrome
5. Click to *different* firefox window than step 3
6. Keyboard events sent to window which had focus in step 3
replicated on firefox-40.0-4.fc22.x86_64
after closing session and re-opening, this is no longer happening. I cannot reliably reproduce.
reproduced with fresh profile. Three firefox windows, no external windows involved.
reproduced in --safe-mode with two windows.
Need third window to workaround the issue. Once I create a third window and switch the cursor to it, keyboard events will go to the window in focus again.
So do I need a Google chrome to reproduce it or can I reproduce it with a different application?
No chrome necessary. I was able to reproduce just switching back and forth between two firefox windows. Still not sure how to trigger this though. I downloaded firefox beta tarball and am using 41.0b4 in hopes of not experiencing this issue. If not, I will do a fresh install of fedora 22 (I fedup from F21) and see if I can replicate.
I have only been using the beta for a few hours and have not experienced this issue yet.
Experienced the same issue on a fresh install of Fedora 22
Still have not seen the behavior in FF beta or FF 42 (developer edition)
This is much less common now, but I also see this behavior in 42.0a2 (2015-09-08)
Created attachment 1073277 [details]
strace of when clicking and typing into second window
I am seeing this a bit more often now. Is there any advice for steps I can do to help debug? Attached is an strace of a few seconds of when I experienced this. I typed "window 1", clicked on the other window, typed "window 2" The "window 2" showed in the original (not clicked) window.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.