Closed Bug 105936 Opened 23 years ago Closed 23 years ago

new window not always in focus

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 103758

People

(Reporter: bulbul, Assigned: bryner)

References

(Blocks 1 open bug)

Details

Sometimes when opening a link in a new window 
(by middle-clicking in Linux), the new window is not 
in focus, such that no keyboard interaction with Mozilla 
is possible. When this happens, you can't use page down to 
scroll, down arrow down to scroll, or Ctrl+w to close 
the window, for example, or even Alt+f to access the File menu. 
To obtain focus, you have to click inside the window. 
I can't figure out what's in focus (if anything), since Ctrl+w 
doesn't close the parent window, for example, and tabbing doesn't 
bring anything else into focus.

I performed this little experiment. I went to an auction category 
at eBay.com. For 30 different items, i followed the following steps:

1. Open item in new window by middle-clicking.
2. Wait for the page to fully load,
   as indicated by throbber and the progress bar.
3. Hit Ctrl+w to close the new window.

Expected result: 
   Ctrl+w closes the new window in all 30 cases.
Actual result:
   Ctrl+w closed the window in only 22 of the 30 cases.
   So, the new window was in focus only about 75% of the time.

On subsequent trials i got a lower failure rate, but the problem 
was still there. I couldn't find a clear correlation between specific 
pages and the problems. I tried opening one link ten times, and the 
new window was in focus all ten times. For another link i opened ten times, 
the new window was in focus six out of ten times.

I'm using Linux build 2001-10-18-08-trunk.
-> Keyboard Navigation
Assignee: asa → aaronl
Component: Browser-General → Keyboard Navigation
QA Contact: doronr → sairuh
-> bryner, focus
Assignee: aaronl → bryner
Blocks: focusnav
I guess the problem is that the focus is in the URL bar, but that is covered by
bug 103758 and should be fixed soon.

*** This bug has been marked as a duplicate of 103758 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.