JDK-7144065 : [macosx] Orphaned Choice popup window
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-02-09
  • Updated: 2013-09-19
  • Resolved: 2012-04-05
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.
7u4 b17Fixed 8Fixed
Related Reports
Relates :  
Mac OS X 10.7.3 macmini4,1
Build b227.
Run any test with java.awt.Choice, preferably embedded in a closable Frame. Click on the Choice to open a popup but do not click in popup itself.

Now close the embedding Frame or just drag it by mouse away, with everything in it. The popup will stay open and alive all by itself, as if it is teared off.

EVALUATION When a choice popps up, BasicPopupMenuUI.MouseGrabber.grabWindow tries to grab the popup window that lies behind the choice's list. But it can't, because the JComboBox delegate is not in a hierarchy. No grab, no ungrab.