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

Incorrect CSS states are sometimes selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • 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.

            dgrieve David Grieve
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: