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

selected and focused TreeItem changing unexpectedly when collapse and expand TreeItem several times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8u40
    • 7u6
    • javafx
    • generic

      Compile and run attached TreeViewSimpleTest.java:
      Select "Controls" item, expand
      Expand "Buttons" item without selection, child "PopupButton" item will have blue border, but should not (TreeView1.png)
      Collapse "Buttons" item, "MenuBar" item will have blue border, but should not (TreeView2.png)
      Expand "Buttons" item again, selected item will be NULL, focused item will be "PopupButton", but should not (TreeView3.png)
      If click down key then next after "PopupButton" item will be selected, but should be "Buttons", because user last selection is "Controls" item and "Buttons" is next after "Controls"


      Bug is reproducible on macosx and windows with javafx 2.2.5b03, 2.2.3b32, 2.2.0b21

        1. TreeView1.png
          25 kB
          Vera Akulova
        2. TreeView2.png
          30 kB
          Vera Akulova
        3. TreeView3.png
          31 kB
          Vera Akulova
        4. TreeViewSimpleTest.java
          5 kB
          Vera Akulova

            jgiles Jonathan Giles
            vakulova Vera Akulova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: