[ 
https://issues.apache.org/jira/browse/PIVOT-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648857#comment-13648857
 ] 

Roger Whitcomb commented on PIVOT-905:
--------------------------------------

Two problems:
1. The Javadoc for Viewport.setRepaintAllViewport is backwards:  it says:

    Parameters:
        repaintAllViewport - true means optimized (repaint only needed area, 
default), while false means repaint all

While in reality the default is "false", which means "repaint only the new 
bits", while "true" means (as its name implies) repaint everything.

2. The flag is not checked for horizontal repaints, only vertical.  So, it does 
not help in my case which was horizontal scrolling (as opposed to Brendan's 
case, where it was vertical scrolling).

So, I'm reopening this issue to fix these two problems.
                
> Repaint problems when scrolling TextArea horizontally
> -----------------------------------------------------
>
>                 Key: PIVOT-905
>                 URL: https://issues.apache.org/jira/browse/PIVOT-905
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0.2, 2.0.3
>         Environment: Windows 7, Java 1.7.0_04-b22 (64-bit)
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.0.4
>
>         Attachments: screenshot-1.jpg
>
>
> I have a TextArea inside a ScrollPane, with a horizontal scrollbar.  When 
> scrolling slowly from right to left, the text display gets garbled with 
> multi-colored blobs (screen shot attached).  This probably has to do with the 
> anti-aliasing for LCD displays.  When you scroll quickly the effect is much 
> reduced.  You can see both effects in the screen shot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to