TreeTableView/TableView always has two focused rows

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8u25
    • Component/s: 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?

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

              Created:
              Updated: