JDK-7113337 : [macosx] Swing closed test tries to click in the area reserved for resize by Mac OS X
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2011-11-18
  • Updated: 2014-10-15
  • Resolved: 2012-07-13
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 7 JDK 8
7u4Fixed 8 b17Fixed
Description
There are closed tests where Robot does try to click somewhere too close to the frame, in two pixels maybe, to open menu, pass a mouse event etc. This area is reserved on Mac -- I would say even commandeered since developer is not restricted to put there anything but cannot use it -- for resize. On Mac OS before 10.7 only bottom right corner was used for resize. On Lion, whole of the border area is unavailable for Robot.

If the first test will be fixed fast, we'll create new bugs and see-also them here. 

See comments.

Comments
EVALUATION The clicking to the point (p.x + 2, p.y + 2) should be changed to clicking to the center of the popup menu
24-11-2011