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

Warning generated upon clicking an empty row in a ListView

    XMLWordPrintable

    Details

      Description

      Run the attached sample app. Click the first two rows and everything behaves as you would expect. Click the 3rd row and notice that a warning is generated. The info in the warning seems to be correct (that the cell is empty) but it seems incorrect to print a warning every time the user clicks an empty cell as they will occur regularly.

      WARNING: com.sun.javafx.scene.control.behavior.ListCellBehavior mousePressed ListCell is empty, so mouse pressed event is ignored. If you've created a custom cell and overridden updateItem, be sure to call super.updateItem(item, empty)

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            kmcintyrejfx Kyle McIntyre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: