Closed Bug 190562 Opened 22 years ago Closed 21 years ago

Mozilla steals focus on page load, even if it happens in background

Categories

(Core :: XUL, defect)

x86
BeOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sergei_d, Assigned: beos)

References

Details

It is very annoying issue. Reason is simple - eWindowType_popup type windows are created currently as floating, which hasn't any sense in current situation. B_NORMAL_WINDOW_FEEL is absolutely sufficient.
What build are you using? May this be related to Bug 185448 ?
Maybe it is related, but BeOS port has its own problems. Other platforms have "soft" toplevel-window activation on SetFocus call in addition to activation in Show method. In BeOS aRaise == PR_TRUE cas is currently ignored in SetFocus - so only method which can bring window to front in BeOS is Show(). So on page load Mozilla calls Show() for top-window, for child window and for popup-window in most cases. Due to specifics of beOS API if pop-up window is floating, it brings to front all other subset or application windows. This problem was in BeOS port before, maybe with bug 185488 it just turned more annoying.
*** Bug 189166 has been marked as a duplicate of this bug. ***
I will hopefully have something for this sometime this week
Assignee: sergei_d → arougthopher
Depends on: 134837
Sergei, I can not reproduce this anymore (running with patch from 134837). Can you?
Status: NEW → ASSIGNED
I think it is fixed for moment, especially because we have special hack with LastActiveWindow in code, missing in other platforms. (Though, i trust in our JavaScript-level mozilla programmers, that they can re-create it again and again:)
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
horray for the java script level programmers :)
You need to log in before you can comment on or make changes to this bug.