Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8071705

Java application menu misbehaves when running multiple screen stacked vertically

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b54
    • CPU:
      generic
    • OS:
      generic

      Backports

        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.

          Activity

          Hide
          neugens Mario Torre added a comment -
          Here is the proposed patch to fix the issue:

          http://cr.openjdk.java.net/~neugens/8071705/webrev.00/
          Show
          neugens Mario Torre added a comment - Here is the proposed patch to fix the issue: http://cr.openjdk.java.net/~neugens/8071705/webrev.00/
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/673538dfde29
          User: neugens
          Date: 2015-02-11 07:02:31 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/673538dfde29 User: neugens Date: 2015-02-11 07:02:31 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/673538dfde29
          User: lana
          Date: 2015-03-11 02:21:44 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/673538dfde29 User: lana Date: 2015-03-11 02:21:44 +0000

            People

            • Assignee:
              neugens Mario Torre
              Reporter:
              neugens Mario Torre
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: