Closed Bug 224929 Opened 22 years ago Closed 22 years ago

Focus issues with Java applets

Categories

(Core :: XUL, defect)

Other
OS/2
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mkaply, Assigned: mkaply)

Details

(Keywords: fixed1.4.2, fixed1.6)

Attachments

(2 files, 1 obsolete file)

We have been encountering some new focus issues with Java applets. We tracked them down to the fact that when a window with a plugin is activated, we don't get a focus change because the java plugin is a frame. Fix is to post a focus changed message when the frame gets a WM_ACTIVATE - note this is similar to what we did in Netscape 4.61 to emulate windows focus behavior. This also allows me to remove a hack fix we put in 1.4.1 to do an extra NS_GOTFOCUS when we got activated.
Attached patch Fix for problem (obsolete) — Splinter Review
Attached patch Better fixSplinter Review
Don't use the WM_USER hack Note because this is the 1.4.1 version, it shows us removing the 1.4.1 specific hack.
Attachment #134927 - Attachment is obsolete: true
Mike, is that last patch your very latest fix, or have you made changes since?
Attached patch Trunk fixSplinter Review
This is the trunk version
Comment on attachment 134986 [details] [diff] [review] Better fix r=pedemont sr=blizzard a=mkaply for 1.4.2
Attachment #134986 - Flags: superreview+
Attachment #134986 - Flags: review+
Attachment #134986 - Flags: approval1.4.2+
Comment on attachment 137600 [details] [diff] [review] Trunk fix r=pedemont, sr=blizzard (platform specific) a=mkaply
Attachment #137600 - Flags: superreview+
Attachment #137600 - Flags: review+
Attachment #137600 - Flags: approval1.6+
fix checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Keywords: fixed1.4.2, fixed1.6
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: