Details
Description
If you try to select text in a Paragraph that has a background color, the selection background is not painted, but the text is painted white, which means that against a white or light background, the text is effectively invisible. The problem doesn't happen when the Paragraph has the default (null) background.
Simple example:
<Window maximized="true"
xmlns="org.apache.pivot.wtk">
<TextPane>
<Document xmlns="org.apache.pivot.wtk.text">
<Paragraph>
<TextNode text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr..." />
</Paragraph>
<Paragraph backgroundColor="white">
<TextNode text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr..." />
</Paragraph>
</Document>
</TextPane>
</Window>
Try making a selection that includes the second line of text, and notice that you can't read the text.