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

TreeTableView/TableView always has two focused rows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u25
    • javafx
    • b10

      When accessing fx table there are always two focused rows even if the table itself is not focused.

      Reproducible: always
      Platform-dependent: no,
      Is a regression: yes
      Introduced in build: 8u25b10

      Steps to reproduce (sample attached):
      1. Create TableView or TreeTableView and add some data into it
      2. Select rows using lookupAll(".table-row-cell") or lookupAll(".tree-table-row-cell")
      Expected:
      - There is always none or one focused row.
      Actual result:
      - There are always two rows that are visible (row.isVisible()) and focused ((row.isFocused()). One of that rows always has "-1" index.

      Is it an expected behavior?

            Unassigned Unassigned
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: