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

TreeView cell arrow does not rotate back when collapsed

XMLWordPrintable

    • b37
    • 10
    • generic
    • generic

      FULL PRODUCT VERSION :
      java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      TreeView arrow does not rotate back when collapsed

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create TreeView with root and children.
      Click an item with children to expand - the arrow rotates 90
      Click the item to collapse - the arrow stays rotated 90.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The arrow should rotate back when an item is collapsed.
      ACTUAL -
      the arrow stays rotated 90

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      add to CSS

      .tree-cell:collapsed > .tree-disclosure-node > .arrow,
      .tree-table-row-cell:collapsed > .tree-disclosure-node > .arrow {
          -fx-rotate: 0;
      }

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: