Closed Bug 101082 Opened 23 years ago Closed 11 years ago

Losing the focus on the applet when mouse pointer exit the applet area

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: vinod.mathew, Assigned: sep)

References

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
BuildID:    2001080814

I'm working on mozilla 0.9.3 on Red Hat linux 7.1, the problem I'm facing is
that in my browser I'm loading some java applet and I've to type and scroll down
through this applet, but once you move the mouse pointer out of the applet area
it loses the focus and I'm not able to do my operations.That means you have to
have the mouse pointer on the applet then only you can write or scroll down
inside the applet.As far as my knowledge it might be the problem with mozilla's
external jre(ie sun's one).Anybody have any idea what is the exact problem and
is there any solution to over ride it?		

Reproducible: Always
Steps to Reproduce:
1.Write a small java applet using some textare or textfield and load it on the
browser, keep the mouse out of the applet and try to write on it.
2.
3.

Actual Results:  I'm not able to get the focus on the applet , so that I'm
unable to write to the applet

Expected Results:  It has to have the focus on the applet even if the mouse
pointer is out of the applet

All can see this problem using an apple on the browser
moving to OJI
Assignee: idk → edburns
Component: Java-Implemented Plugins → OJI
Reassign to Joe as I'm leaving the role of OJI module owner.
Status: UNCONFIRMED → NEW
QA Contact: avm → pmac
Target Milestone: --- → mozilla0.9.5
Ressign to Joe Chou, as I am no longer working officially on OJI.
Assignee: edburns → joe.chou
Target Milestone: mozilla0.9.5 → mozilla0.9.6
*** Bug 103286 has been marked as a duplicate of this bug. ***
*** Bug 103440 has been marked as a duplicate of this bug. ***
Confirmed on recent trunk build. jre1.3.0_01, RedHat6.2

Sample test url
http://java.sun.com/docs/books/tutorial/uiswing/components/TextDemo.html

It is interesting that as soon mouse is moved out of applet focus is passed
to url location textfield.

This could be due to something like nsObjectFrame behavior ...
Need further investigation.
Re-assign to sep.
Assignee: joe.chou → sep
Status: NEW → UNCONFIRMED
Target Milestone: mozilla0.9.6 → mozilla0.9.8
Status: UNCONFIRMED → NEW
Ever confirmed: true
Can this be reproduce on Windows or Mac?

On Linux child windows are used to host plugins and events should go directly to
the window. It's a possiblity there is a problem with focus setting.
this bug is present in mozilla 0.9.8 under redhat linux 7
please fix it before final 1.0 release!

ps this bug doesn't applies to win2k and mozilla 0.9.8

Target Milestone: mozilla0.9.8 → mozilla1.0
QA Contact: pmac → petersen
retargeting
Target Milestone: mozilla1.0 → Future
Depends on: 189229
Product: Core → Core Graveyard
Mass-closing bugs in the "OJI" component: OJI plugin integration was replaced with npruntime long ago, and these bugs appear to be irrelevant now. If there is in fact a real bug that remains, please file it new in the "Core" product, component "Plug-ins".
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.