Closed Bug 194104 Opened 22 years ago Closed 21 years ago

focus is in last tab in new windows/startup

Categories

(SeaMonkey :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 124750

People

(Reporter: bugzilla, Assigned: jag+mozilla)

Details

(Keywords: access)

found using 2003.02.19 comm trunk bits on all platforms.

1. have the following urls in tabs in a browser window:
   1st tab: http://mozilla.org
   2nd tab: http://www.yahoo.com
   3rd tab: http://bugzilla.mozilla.org

2. open Prefs and go to the Navigator panel.

3. make sure that the "home page" radiobutton is set for startup/new windows.

4. click the "use current group" button to make the three tabs your home page.

5. click OK to save and dismiss prefs.

6. open a new browser window (accel+N, File - New - Navigator Window), or quit
and restart.

7. in the new browser window, try to scroll within the 1st tab using the
keyboard. result: you can't.

8. now, try hitting the tab key to move btwn links (and to figure out where
focus is). look at the status bar while you do this.

results: tab is going through the links within the 3rd tab (which is in the
background).

expected: tab (and focus) should be in the 1st (foreground) tab.
fwiw, this is also a problem with nscp7.02.
Nav triage team: need info.  This appears to be working for us in a trunk Win XP
build.  Talk to Paul for a demo.
Whiteboard: [need info]
i can still repro this on linux and mac using today's trunk build.
Whiteboard: [need info]
Nav triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
this doesn't seem limited to groupmarks as home page. for example,

0. make sure you have tabs set to open in the background.
1. bookmark a group of tabs, so that it appears in Bookmarks menu.
2. open a browser window with only 1 tab (or close other tabs so that there's
only 1 tab in the window).
3. from the Bookmarks main menu (toplevel menubar), load the bookmarked group.
4. after the tabs finish loading (in the background), try scrolling the
frontmost tab with the keyboard (spacebar, arrow keys, etc.).

results: unable to scroll with keyboard. focus will be on the last loaded tab
(in the background, hit tab key to see its links).

i have a test build from Brain (built yesterday for fixes to bug 201242, bug
201996 and bug 200735), which i *think* might fix this issue --as i'm unable to
reproduce the problem with this test.
Keywords: access
QA Contact: pmac → sairuh
Summary: homegroup: focus is in last tab in new windows/startup → focus is in last tab in new windows/startup
Fix checked in (from bug 201996).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
tested with 2003.05.12 comm bits. results below.

a. the case in comment 0 (startup page and new browser window set to use home page):

  * is still a problem on Mac OS X
  * fixed on win2k and linux rh8.0

b. the case in comment 5 (tab groups opening in background, from menu or PT):

  * still a problem on Mac OS X
  * also a problem on win2k
  * fixed on linux rh8.0
It sounds like this bug hasn't been fixed yet. The problem is that JS run from
the bugzilla page's onload sets focus to the textfield. If you make bugzilla (or
google) be your second page in the testcase in comment 0, you'll see what I mean.

There's a bug on this somewhere out there already.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
thanks to jag for the clarification. when i use tab groups where none of the
tabs set focus to a textfield in the page, this isn't a problem (whew). has
nuthin' to do with bryner's recent stuff.

found the older bug #124750, so dupping.

*** This bug has been marked as a duplicate of 124750 ***
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
v dup.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.