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

Menu inoperable after setting stage to second monitor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: openjfx11, openjfx16
    • Fix Version/s: openjfx18
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows

      Backports

        Description

        On Windows, with two monitors, if the main monitor has DPI settings (+100%), and a second monitor without DPI settings (100%) is connected, when the app is translated from one monitor to the other, not by dragging but programmatically, via Stage::setX, Stage::setY, the fixed issue JDK-8169777 surfaces again: the menu's popup shows up in a wrong position and can't be clicked, and as soon as the mouse is released, the popup gets closed. Going back to the first monitor also fails.

        The attached test reproduces the issue, with any JavaFX version from 11 to latest 17-ea.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jpereda Jose Pereda
                Reporter:
                jpereda Jose Pereda
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: