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/03/11 01:54:59 UTC
[jira] Created: (PIVOT-715) Background color not painted properly
in TextPane
Background color not painted properly in TextPane
-------------------------------------------------
Key: PIVOT-715
URL: https://issues.apache.org/jira/browse/PIVOT-715
Project: Pivot
Issue Type: Bug
Components: wtk
Affects Versions: 2.0
Reporter: Bill van Melle
Priority: Minor
The background color is not painted properly in a TextPane with multiple spans. Here's a simple example:
<Window maximized="true"
xmlns:bxml="http://pivot.apache.org/bxml"
xmlns="org.apache.pivot.wtk">
<TextPane>
<Document xmlns="org.apache.pivot.wtk.text">
<Paragraph backgroundColor="yellow">
<Span font="{bold:true}"><TextNode text="Label:"/></Span>
<TextNode text=" some random text "/>
<Span font="{italic:true}"><TextNode text="(some remark)"/></Span>
</Paragraph>
</Document>
</TextPane>
</Window>
If the window is wide enough, you'll see an extra splotch of yellow to the right of the text, and part of the text will not be yellow. If you reshape the window to be narrower than the text, you'll see many variations of blocks of yellow showing outside the text, and parts of the next not having a yellow background.
(The bold and italic styles make it interesting, but you can take them away and still see the bug, just as long as the paragraph has multiple spans. And the reshaping bug doesn't even require multiple spans.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (PIVOT-715) Background color not painted properly
in TextPane
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin resolved PIVOT-715.
--------------------------------
Resolution: Fixed
Assignee: Noel Grandin
Fixed in revision 1081353
> Background color not painted properly in TextPane
> -------------------------------------------------
>
> Key: PIVOT-715
> URL: https://issues.apache.org/jira/browse/PIVOT-715
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 2.0
> Reporter: Bill van Melle
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 2.0.1
>
>
> The background color is not painted properly in a TextPane with multiple spans. Here's a simple example:
> <Window maximized="true"
> xmlns:bxml="http://pivot.apache.org/bxml"
> xmlns="org.apache.pivot.wtk">
> <TextPane>
> <Document xmlns="org.apache.pivot.wtk.text">
> <Paragraph backgroundColor="yellow">
> <Span font="{bold:true}"><TextNode text="Label:"/></Span>
> <TextNode text=" some random text "/>
> <Span font="{italic:true}"><TextNode text="(some remark)"/></Span>
> </Paragraph>
> </Document>
> </TextPane>
> </Window>
> If the window is wide enough, you'll see an extra splotch of yellow to the right of the text, and part of the text will not be yellow. If you reshape the window to be narrower than the text, you'll see many variations of blocks of yellow showing outside the text, and parts of the next not having a yellow background.
> (The bold and italic styles make it interesting, but you can take them away and still see the bug, just as long as the paragraph has multiple spans. And the reshaping bug doesn't even require multiple spans.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (PIVOT-715) Background color not painted properly
in TextPane
Posted by "Sandro Martini (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandro Martini updated PIVOT-715:
---------------------------------
Fix Version/s: 2.0.1
Assigned to 2.0.1, just to not forget it.
> Background color not painted properly in TextPane
> -------------------------------------------------
>
> Key: PIVOT-715
> URL: https://issues.apache.org/jira/browse/PIVOT-715
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 2.0
> Reporter: Bill van Melle
> Priority: Minor
> Fix For: 2.0.1
>
>
> The background color is not painted properly in a TextPane with multiple spans. Here's a simple example:
> <Window maximized="true"
> xmlns:bxml="http://pivot.apache.org/bxml"
> xmlns="org.apache.pivot.wtk">
> <TextPane>
> <Document xmlns="org.apache.pivot.wtk.text">
> <Paragraph backgroundColor="yellow">
> <Span font="{bold:true}"><TextNode text="Label:"/></Span>
> <TextNode text=" some random text "/>
> <Span font="{italic:true}"><TextNode text="(some remark)"/></Span>
> </Paragraph>
> </Document>
> </TextPane>
> </Window>
> If the window is wide enough, you'll see an extra splotch of yellow to the right of the text, and part of the text will not be yellow. If you reshape the window to be narrower than the text, you'll see many variations of blocks of yellow showing outside the text, and parts of the next not having a yellow background.
> (The bold and italic styles make it interesting, but you can take them away and still see the bug, just as long as the paragraph has multiple spans. And the reshaping bug doesn't even require multiple spans.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira