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

TreeView items expansion/collapse weird behavior

XMLWordPrintable

    • b37
    • 10
    • x86_64
    • generic

      A DESCRIPTION OF THE PROBLEM :
      I'm trying to develop a demo application that uses a TreeView. The problem is that sometimes when clicking on the small triangle on the left of an item the entire application hangs and I'm forced to kill it.

      I tried also the workaround to programmatically select the first item without appreciable success.

      Also, you can see that the triangles (representing the collapsed/expanded status of an item) sometimes are in a wrong state (pointing to the right even if the item is expanded or pointing to the bottom if the item is collapsed). Not only this, but I can see that in a random fashion when collapsing or expanding an item determines the status change of the triangle of other items.

      Trying to downgrade to JDK 8 the problem disappears.

      REGRESSION : Last worked in version 8u172

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a TreeView.
      Add some nested items on it.
      Try to play with items expanding and collapsing them.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The clicked item will expand or collapse according with its previous status.
      ACTUAL -
      Sometimes the application freezes forever.
      Sometimes the TreeView shows the wrong status for the items.
      Playing with an item randomically influences the status of others.

      FREQUENCY : always


            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: