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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
    • Environment:

      generic

      Description

      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

        Attachments

        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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: