Open Bug 165668 Opened 23 years ago Updated 19 years ago

Ctrl+2/Ctrl+1 cannot focus an open mail/navigator window with modal dialog like Preferences/Account settings [error in JS console: tasksOverlay.js :: toOpenWindow]

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: jruderman, Assigned: jag+mozilla)

References

Details

Steps to reproduce: 1. Open a browser window. 2. Open mail using Ctrl+2. 3. Open mail account settings. 4. Switch back to the browser window. 5. Press Ctrl+2 again. Result: nothing happens.
happens to Navigator too Steps to reproduce: 1. Open a browser window. 2. Open mail 3. In browser, press ctrl+O 4. Switch back to the mail window. 5. Press Ctrl+1 -> XP App
Assignee: danm → jaggernaut
Component: Mail Window Front End → XP Apps
Product: MailNews → Browser
QA Contact: olgam → paw
Summary: Ctrl+2 while mail is open with dialog does not focus mail or dialog → Ctrl+2/Ctrl+1 cannot focus an open mail/navigator window with modal dialog
Gentoo Linux Mozilla 1.4 WindowMaker Pressing Ctrl+1 or Ctrl+2 shows up either browser or mail window but does not switch focus to them.
*** Bug 176386 has been marked as a duplicate of this bug. ***
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowInternal.focus]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://communicator/content/tasksOverlay.js :: toOpenWindow :: line 89" data: no] for the first steps. (1.7rc1 WinXP)
Product: Core → Mozilla Application Suite
Is there any wrong with following function? function toOpenWindow( aWindow ) { aWindow.document.commandDispatcher.focusedWindow.focus(); }
See also Bug 243145, potential dupe.
Summary: Ctrl+2/Ctrl+1 cannot focus an open mail/navigator window with modal dialog → Ctrl+2/Ctrl+1 cannot focus an open mail/navigator window with modal dialog like Preferences/Account settings [error in JS console: tasksOverlay.js :: toOpenWindow]
*** Bug 287046 has been marked as a duplicate of this bug. ***
*** Bug 243145 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.