Closed Bug 522962 Opened 10 years ago Closed 4 years ago

Switching in/out of Fullscreen blanks Java applets

Categories

(Plugins Graveyard :: Java (Java Embedding Plugin), defect, major)

All
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: u318511, Assigned: smichaud)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20091018 Minefield/3.7a1pre (like Firefox/3.5.3) (TehKittyCat)
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b2pre) Gecko/20091018 Namoroka/3.6b2pre

On Mac with 1.9.2 branch Firefox nightly switching in or out of Fullscreen blanks Java applets.

Reproducible: Always

Steps to Reproduce:
1.Go to any page with a Java applet (such as http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example4.html).
2.Switch into or out of fullscreen.
Actual Results:  
The Java applet quits working and blanks.

Expected Results:  
The Java applet continues to function.
Version: unspecified → 1.9.2 Branch
Does this only happen on the 1.9.2 branch?
I've confirmed this.

It doesn't happen in FF 3.5.X or 3.0.X ... because they don't have
full screen mode.

The workaround is to press Command-R and reload the page -- either in
full screen mode or in "normal" mode.

This is presumably a bug in the JEP.  It may take me a while to fix
it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I should also note that the bug doesn't happen with Flash or Quicktime "movies".
Hardware: x86 → All
Steven, is the JEP directly bundled to the Firefox build? While running tests on all Mac platforms I have discovered that Java applets aren't shown initially on 10.4. You have to scroll the page to start the invalidation process. Then applet content is visible. So this doesn't only happen for entering/leaving the full screen mode. Given my results I wonder if this is more a Core:Plugin problem and should really block Firefox 3.6.

Example URL: http://java.sun.com/applets/jdk/1.4/demo/applets/ImageMap/example1.html
One difference we have here is that scrolling in fullscreen mode doesn't bring back the applet content. Shall I file a new bug on my seeings, Steven?
(In reply to comment #4 and comment #5)

> Steven, is the JEP directly bundled to the Firefox build?

Yes.  The JEP's JavaEmbeddingPlugin.bundle and MRJPlugin.plugin are
located in each distro's Contents/MacOS/plugins directory.

> While running tests on all Mac platforms I have discovered that Java
> applets aren't shown initially on 10.4.

This is an old and well-known problem (well-known at least to me).

It doesn't only happen on OS X 10.4, and doesn't happen all the time
(in my experience it's actually pretty rare).  It's more likely to
happen if a Java applet is clipped (i.e. if, the first time it's
displayed, not all of it fits in the browser window).

I've worked on this for years, and the problem has gotten less severe
in more recent versions of the JEP.  But I'll probably never be able
to fix it completely.

So I don't think there's much point opening a bug on this ... but go
ahead if you want to :-)

As you've noticed, this problem is entirely unrelated to this bug (bug
522962).
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
Version: 1.9.2 Branch → unspecified
Closing old bugs in the Plugins component. We aren't going to track issues in 3rd-party plugins in the Mozilla bug tracker. In addition, support for NPAPI plugins will be removed at the end of this year; for more details see the post at https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/

If there is a serious bug in Firefox, it needs to be filed in the "Core" product, "Plug-Ins" component.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.