JDK-8071705 : Java application menu misbehaves when running multiple screen stacked vertically
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-01-27
  • Updated: 2022-06-27
  • Resolved: 2015-02-11
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 JDK 9
7u271Fixed 8u60Fixed 9 b54Fixed
Related Reports
Relates :  
Description
JMenu miscalculates the position of the Popup origin when running on multiple monitors and those monitors are stacked vertically (one over the other).

The code that calculates the position for the popup does not account the screen bounds relative y coordinate, resulting in application that have popups on the bottom side of the second screen to have their popup growing upward even if there is space downward.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/673538dfde29 User: lana Date: 2015-03-11 02:21:44 +0000
11-03-2015

URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/673538dfde29 User: neugens Date: 2015-02-11 07:02:31 +0000
11-02-2015

Here is the proposed patch to fix the issue: http://cr.openjdk.java.net/~neugens/8071705/webrev.00/
27-01-2015