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

[Text,TextFlow] Selection fill fails in subsequent Text nodes in TextFlow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8, 9
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      When setting selection ranges on Text elements of a TextFlow, the selectionFill color (normally white) is only painted in the first Text node.

      The Text nodes share a TextLayout internally, and the indices seem to get mapped wrong across the layout runs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prr Philip Race
              Reporter:
              leifs Leif Samuelsson (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: