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

Hierarchy's drop target isn't computed for all nested parents during a bottom-to-top move

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • javafx
    • None
    • Mac & Win
      changeset: 6222:1a3993c10557

      Start by dropping on Content a SplitPane.
      When you hover the Hierarchy with a second SplitPane and come over the bottom AnchorPane a ring encloses the AnchorPane: this is DropPosition1.
      Now if you move down one or two millimeters you get DropPosition2.
      And if you move down again by another millimeter or so you get DropPosition3.
      Fine: the problem is that once in drop position 3 if you move up you'll never get drop position 2 but always drop position 1.
      Drop position 2 is reachable only from top to bottom, never from bottom to top.

      You can reproduce the issue with any other container: in top AnchorPane drop a second AnchorPane then a third one within the second one. Now when hovering third AnchorPane with any item you experiment it all lthe same.
       

        1. DropPosition3.png
          DropPosition3.png
          22 kB
        2. DropPosition2.png
          DropPosition2.png
          18 kB
        3. DropPosition1.png
          DropPosition1.png
          28 kB

            sjiang Shanliang Jiang (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: