JDK-8042465 : Applet menus not rendering when browser is full screen on Mac
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:7u51
Priority:P3
Status:Resolved
Resolution:Fixed
OS:os_x
Submitted:2014-05-06
Updated:2015-03-17
Resolved:2014-06-02
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.
In a Swing applet running within Mac OS, Safari/Firefox the JMenuItem(s) is
not showing when using browsers full screen.
Upon minimising, the JMenuItem(s) can be seen again.
Comments
The fix caused a regression - JDK-8048506. Should we take JDK-8048506 in PSU15_01 as well?
29-08-2014
The fix doesn't contain a regression test because testing would require manual interaction and is applicable to Mac OS X only.
02-06-2014
On Mac OS X when a browser is in full screen mode, applet's popup is displayed behind the browser's window.
Suggested fix: change the collection behaviour for the popup windows to make them visible when the browser runs in full screen mode.
14-05-2014
The problem is reproducible on JavaSE 7, 8 and 9.
14-05-2014
Reproducer:
import javax.swing.*;
public class FullScreenMenuIssue extends JApplet {
public FullScreenMenuIssue() {
JMenuBar menuBar = new JMenuBar();
JMenu menu = new JMenu("menu");
menu.add(new JMenuItem("1"));
menu.add(new JMenuItem("2"));
menu.add(new JMenuItem("3"));
menuBar.add(menu);
setJMenuBar(menuBar);
}
}
Steps to reproduce:
1. Run the applet (see above) using browser (FireFox or Safari) on Mac OS X
2. Enter Full Screen (ctrl + cmd +f)
3. Click on menu
Expected result:
The Menu popup with items should be displayed
Actual result:
The Menu items are not seen