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

FXCanvas does not update x/y of EmbeddedStageInterface when FXCanvas is reparented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjfx11
    • Fix Version/s: openjfx11
    • Component/s: javafx
    • Labels:

      Description

      SWT allows to reparent control between different parents. Unfortunately this does not fire any events hence the EmbeddedStage has the wrong x/y coordinates. If you now open windows like eg PopupControl relative to this

      Steps to reproduce:
      * Launch application
      * Click on ComboBox => pop at correct position
      * Click "Reparent"
      * Click on ComboBox => notice the pop is a the old position
      * Move 2nd shell
      * Click on ComboBox => pop at correct position

        Attachments

          Activity

            People

            • Assignee:
              tschindl Tom Schindl
              Reporter:
              tschindl Tom Schindl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: