Open
Bug 465446
Opened 17 years ago
Updated 3 years ago
nsChildView::SetFocus doesn't focus when behind native Mac apps
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
NEW
People
(Reporter: humph, Unassigned)
Details
Spin-off from bug 459485. Calling nsIDOMWindowInternal::Focus, and eventually nsChildView::SetFocus, can't get a Moz app (Thunderbird in this case) to come in front of a native Mac app. I've used a work-around, but it would be nice to fix it at the source:
nsresult FocusAppNative()
{
ProcessSerialNumber psn;
if (::GetCurrentProcess(&psn) != 0)
return NS_ERROR_FAILURE;
if (::SetFrontProcess(&psn) != 0)
return NS_ERROR_FAILURE;
return NS_OK;
}
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•