Closed
Bug 256177
Opened 20 years ago
Closed 20 years ago
Auto-refresh tab "steals" focus from active tab (impossible to navigate using keyboard etc.) with a JavaScript function
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 124750
People
(Reporter: mojbordel, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Intranet site. Page source snippet: ----- snip ----- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html> <head><title>CaseFaster - Open a case or a task</title> <link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> <meta HTTP-EQUIV="Refresh" CONTENT="300; URL=casenumber.php"> </head> <body alink="#ff0000" vlink="#666699" link="#666699" bgcolor="#666699" onLoad="document.forms.SearchForm.id_number.focus()" ><a name="top"></a> ----- snip ----- When I'm in another tab (other than the auto-reload tab is active) that tab loses focus - there is a search form on the auto-reload tab which gets the focus IN THE BACKGROUND, so the active tab is still visible, but it stops responding to the keyboard. After clicking into it starts responding again. Sometimes though the Firefox loses keyboard focus totally so it's impossible to enter anything into the URL bar, search bar or any text or textarea fields in a page (browser restart helps). Sometimes though it's possible to write in a textarea field but not to move around using the cursor keys (arrows). You have to click the mouse to go one line up for example. Reproducible: Always Steps to Reproduce: 1. Open the auto-reload page. 2. Open a new tab. Read it move around with the keyboard etc. Wait for the refresh of the background tab. Actual Results: The active tab lost the keyboard focus. Expected Results: Not to lose keyboard focus on the active tab. Fedora Core 1 Linux: $uname -a Linux localhost 2.4.22-1.2188.nptl #1 Wed Apr 21 20:36:05 EDT 2004 i686 i686 i386 GNU/Linux Enlightenment 0.16.6 Default theme Extensions: Adblock v.5 d2 * nightly 39 DOM Inspector 1.0 Live HTTPHeaders 0.9 Tabbrowser Extensions 1.10.2004071201 Mozex 1.07 Show Old Extensions 0.1.3
Reporter | ||
Comment 1•20 years ago
|
||
I forgot to include the search form: ----- snip ----- </table></td></tr> <form name="SearchForm" method="post" action="open-smthg.php"> <tr><td colspan=2 align="left" bgcolor="#ccccff"><b>User logged in as <i>Marek SCHIMARA</i></b></td> <td colspan=3 align="right" bgcolor="#ccccff"><b>Search for: </b><input value="" maxlength="15" size="30" name="id_number" type="text"><input value="Ok" name="bouton" type="submit"></td> </tr> </form> </table> ----- snip ----- Another thing is, if you searched before using this form, the search history will appear on the active tab which lost the keyboard focus at the same position as on the auto-reload tab (if you try to move the page up or down using the arrow keys). Marek
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•