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

TableCell shows less of truncated string following RT-25267 ellipsis fix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None
    • Windows 7

      Our XmasTree benchmark consists of a large table of numerical data. We try to fit as many cells as possible into the visible area, thus we try to leave a minimum amount of extra space around the numbers in the cells.

      Following the RT-25267 fix, we noticed that most of the numbers were no longer visible. Some investigation (PERF-379) shows that the numbers had been replaced by ellipses.

      There is an API on Labeled to set the ellipsisString. According to the docs, calling setEllipsisString("") should "just display the truncated string", but doing so does not return us to the previous behavior. The numbers are painted again, but have only 2 out of 3 digits painted.

      We need a way to request the behavior prior to RT-25267.

      I've attached a test case. Running with graphics-scrum #168 (just prior to RT-25267) shows the expected behavior. Running with #169 shows the new behavior, with not all digits being painted.

            jgiles Jonathan Giles
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: