Closed Bug 35358 Opened 25 years ago Closed 25 years ago

window focus problems with redirected urls

Categories

(Core :: DOM: Navigation, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mscott, Assigned: travis)

Details

I've already talked about this with Travis. This is just a bug to track it. If you click on a link (say in the mail window) that gets redirected to another window (like the browser), the browser window is no longer getting focus. This is because nsWebShell::SetFocus is no longer implemented by the docshell. Here is Travis' comments summarizing what needs done: The problem is that code was stolen from the webShell and mWindow there was the native widget that webShell was creating. Neither docShell nor WebShell actually create a native widget anymore. The reality is the focus should be set on the content viewer the docShell holds, but the content viewer doesn't have an interface for setting the focus. But that would be easy enough to add, though when I start thinking about the content viewer not eventually having any native widgets I wonder where the focus is actually suppose to be set. Probably on the view system? Not sure. I'll take a look at actually getting that function implemented though.
Fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.