Incorrect CSS states are sometimes selected

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      The following changeset appears to introduce a regression that can be seen in ListView/TreeView/TableView/TreeTableView:
      http://hg.openjdk.java.net/openjfx/8/master/rt/rev/c15a91781139

      The issue is that there should be a blue inner rectangle inside the selection row (so a light blue inside a dark blue). This should appear both when the mouse hovers over the selected row and when it doesn't. Unfortunately, it appears that the CSS engine is choosing the wrong CSS style. That is, rather than select .list-view:focused > .... > .list-cell:filled:focused:selected, it prefers to choose .list-view:focused > ..... > .list-cell:filled:selected

      David has commented that this is an issue with sorting the pseudoclass states.

            Assignee:
            David Grieve
            Reporter:
            Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: