JDK-7154841 : [macosx] Popups appear behind taskbar
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u4
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2012-03-19
  • Updated: 2017-05-24
  • Resolved: 2013-12-24
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.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u20Fixed 9 b06Fixed openjdk7uFixed
Description
To reproduce it:

1. run the test attached to the bug report

2. the test creates a popup menu and then inserts 50 items into the popup menu

3. clicks on the frame to show the popup menu

4. a part of the popup menu appears behind the taskbar (this part becomes useless).

Works fine in Apple's JDK (the popup menu appears above the taskbar).

Comments
EVALUATION Consider using the NSPopUpMenuWindowLevel level for popup menus.
19-03-2012