JDK-8173154 : Popups are not rendered for FX applets running on Mac
Type:Bug
Component:deploy
Sub-Component:plugin
Affected Version:9
Priority:P2
Status:Closed
Resolution:Fixed
Submitted:2017-01-21
Updated:2017-07-10
Resolved:2017-02-09
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This may be related to Hi-DPI. When I run an FX applet that has a popup such as a ComboBox or Tooltip, The popup is not rendered. I can still interact with the ComboBox using the keyboard, but not with the mouse.
Comments
Verified on Mac 10.11/Safari against 9b177
10-07-2017
Here is the exception I was seeing from the builds b68->b81:
Caused by: java.lang.ClassCastException: simpleapp.SimpleApp cannot be cast to java.applet.Applet
at sun.plugin2.uitoolkit.impl.awt.AWTAppletAdapter$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:734)
at java.awt.EventQueue$4.run(EventQueue.java:732)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
03-02-2017
Running old jdk9 builds I find the following:
b67 (June 3, 2015) - popups appeared, though sometimes in the wrong location
b68 through b81 - applets could not run due to a ClassCast exception (SimpleApp cast to Applet)
b82 (Sept 16, 2015) - popups no longer appear