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

ListView text color changes unexpected after being unselected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • fx2.1
    • fx2.0.1
    • javafx

    Description

      Hi,

      according to JavaFX Oracle Forum this is a bug in ListView (run the code below):

      If some cell is selected, and then you select another cell, the previously selected cell becomes partly blank (only the text element).
      If I mouse over the previously cell, the text appears again.

      A few things to notice:
      - If I remove from.setTextFill(Color.RED); from the code, it behaves as a normal list, without the bug.
      - I wonder why the text Label is highlighted white, while the text2 Label is not highlighted, while focussed.

      https://forums.oracle.com/forums/thread.jspa?threadID=2316773&tstart=0

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              cschudtjfx Christian Schudt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: