You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Bill van Melle (JIRA)" <ji...@apache.org> on 2011/04/05 23:09:07 UTC
[jira] [Created] (PIVOT-726) Selection in a Paragraph with non-null
background color displays incorrectly
Selection in a Paragraph with non-null background color displays incorrectly
----------------------------------------------------------------------------
Key: PIVOT-726
URL: https://issues.apache.org/jira/browse/PIVOT-726
Project: Pivot
Issue Type: Bug
Components: wtk
Affects Versions: 2.0, 2.0.1
Environment: Windows XP, Mac OS X (at least)
Reporter: Bill van Melle
Priority: Minor
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (PIVOT-726) Selection in a Paragraph with
non-null background color displays incorrectly
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin resolved PIVOT-726.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1
Assignee: Noel Grandin
Fixed in revision 1089425
> Selection in a Paragraph with non-null background color displays incorrectly
> ----------------------------------------------------------------------------
>
> Key: PIVOT-726
> URL: https://issues.apache.org/jira/browse/PIVOT-726
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 2.0, 2.0.1
> Environment: Windows XP, Mac OS X (at least)
> Reporter: Bill van Melle
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 2.0.1
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira