Bug 52362

Summary: Java applet canvas view is not rendered when overlapping with Flash canvas
Product: WebKit Reporter: Raphael Maes <raphael.maes>
Component: JavaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Major CC: aestes, ahmad.saleem792, ap
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
Attachments:
Description Flags
Java applet running in Flash canvas - OK (Java Logo is rendered)
none
Java applet running in Flash canvas - Not OK (applet canvas is not rendered and shows a blank area)
none
different results with a nightly none

Raphael Maes
Reported 2011-01-13 02:29:54 PST
During recent months, all WebKit builds on OSX 10.6 and running in 64 bit mode have shown this problem. When there is an overlap (of even 1 pix) between a Java Applet canvas and Flash-player canvas, the applet fails to render it's view. A blank area is shown. All GUI elements are available, just not visible. There is no issue when the 2 canvas area's don't overlap. IT only affects 64bit Mac machines. - Adobe Flash-player v10.1.x - Java v1.6.0_22 - Java preference mode is: Run applets in Browser process - A crippled work-around is to run the applets in their own process. This however introdues other side effects (2 contexts are introduced, a need to double -click to get focus, etc...).
Attachments
Java applet running in Flash canvas - OK (Java Logo is rendered) (26.24 KB, image/x-png)
2011-01-14 00:04 PST, Raphael Maes
no flags
Java applet running in Flash canvas - Not OK (applet canvas is not rendered and shows a blank area) (29.00 KB, image/x-png)
2011-01-14 00:06 PST, Raphael Maes
no flags
different results with a nightly (86.71 KB, image/png)
2011-01-14 00:50 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2011-01-13 11:17:13 PST
Do you have an example page or a test case for this?
Raphael Maes
Comment 2 2011-01-14 00:04:57 PST
Created attachment 78895 [details] Java applet running in Flash canvas - OK (Java Logo is rendered)
Raphael Maes
Comment 3 2011-01-14 00:06:34 PST
Created attachment 78896 [details] Java applet running in Flash canvas - Not OK (applet canvas is not rendered and shows a blank area)
Raphael Maes
Comment 4 2011-01-14 00:15:54 PST
URL to view the applet behaviour: http://delano-eqa.tst.agfa.com/PageMaster - In the logon dialog box : Click the link "Check my system". This wil show a floating window executing different system checks. - The line "Java Runtime Enviroment" should get a green 'V' sign after loading the (large) Java applet. The applet canvas will show the Java Logo (OK) or a blank area (NOK). See also the attached screenshots for an example. - Should the Java line receive a red 'X' i.o. a green 'V' , please click the "Restart Test" button.
Alexey Proskuryakov
Comment 5 2011-01-14 00:50:32 PST
Created attachment 78902 [details] different results with a nightly Thank you! This doesn't quite match what I'm seeing, even though there seems to be a regression of some kind. Here are my results. Safari/WebKit 5.0.3 on Mac OS X 10.6.6, Java 1.6.0_22 running within browser process: - Many times, the applet failed to load (red X near the test). - When it did load, it rendered as blank - no Java logo. I.e., exactly your "not OK" screenshot. Nightly r75294: - The applet never loads, and a partially visible <object> fallback text was displayed (see attachment).
Alexey Proskuryakov
Comment 6 2011-01-14 00:54:25 PST
The results I'm seeing aren't surprising, as there have been many changes to <object> loading in nightlies. Andy (CC'ed) knows the details better than I do. It is surprising that we seem to be getting different results in shipping Safari/WebKit. Or did I misunderstand you somehow?
Raphael Maes
Comment 7 2011-01-14 01:32:36 PST
Indeed, we can confirm your observation about the difference between the WebKit nightly build and the release Safar 5.0.3 / WebKit version.
Alexey Proskuryakov
Comment 8 2011-01-14 08:40:56 PST
Please clarify what this bug should be about. If it is about issues in shipping Safari/WebKit, then we need a separate bug for the regression in nightlies.
Raphael Maes
Comment 9 2011-01-18 05:11:20 PST
The blank canvas is first and foremost an issue with the released Safari/WEbKit. (We have logged this issue also in Apple's Radarweb tracking system ae: 8846411) As you have observed , the recent nightly WebKit builds show different behaviour. Here the Applet doesn't get as far as in the Safari/WebKit version. (It fails to start). Should we open a separate case for this or are you guy's doing this ? Thanks for the quick response.
Alexey Proskuryakov
Comment 10 2011-01-18 08:58:22 PST
Thanks! It would be slightly better if you filed a bug about the regression.
Ahmad Saleem
Comment 11 2022-09-25 14:39:11 PDT
Java applets are not support anymore and also NPAPI support is also gone. Marking this as "RESOLVED WONTFIX".
Note You need to log in before you can comment on or make changes to this bug.