You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/05/14 17:56:44 UTC

[jira] Created: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

ScrollPane optimization fails with scrollAreaToVisible()?
---------------------------------------------------------

                 Key: PIVOT-490
                 URL: https://issues.apache.org/jira/browse/PIVOT-490
             Project: Pivot
          Issue Type: Bug
          Components: wtk
    Affects Versions: 1.4
            Reporter: Greg Brown
            Assignee: Todd Volkert


The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.

Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-490:
-----------------------------

    Fix Version/s: 1.6
                       (was: 1.5)

> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 1.6
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-490:
-----------------------------

    Fix Version/s: 1.5

This may be related to PIVOT-286.


> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 1.5
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867941#action_12867941 ] 

Greg Brown commented on PIVOT-490:
----------------------------------

When this issue is fixed, we can remove the workaround in TerraListViewSkin and TerraTableViewSkin (see TODO re: PIVOT-490).


> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 1.5
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-490:
-----------------------------

    Fix Version/s: 1.5.1
                       (was: 1.6)

> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 1.5.1
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-490:
-----------------------------

    Fix Version/s:     (was: 2.0)
                   2.1

> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 2.1
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871915#action_12871915 ] 

Todd Volkert commented on PIVOT-490:
------------------------------------

Funny - while coding the selection validation for tree view skin, I worked around this issue without knowing of this ticket since I guessed that it would happen.  I'm not done yet, but I'd bet that repainting *after* you scroll will fix this issue, alleviating you from having to repaint the whole component.

> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 1.6
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-490) ScrollPane optimization fails with scrollAreaToVisible()?

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-490:
-----------------------------

    Fix Version/s: 2.0
                       (was: 1.5.1)

> ScrollPane optimization fails with scrollAreaToVisible()?
> ---------------------------------------------------------
>
>                 Key: PIVOT-490
>                 URL: https://issues.apache.org/jira/browse/PIVOT-490
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Greg Brown
>            Assignee: Todd Volkert
>             Fix For: 2.0
>
>
> The recent fixes for PIVOT-474 revealed what appears to be an issue with the scroll pane optimization. The prior repaint logic when the selection state changed in ListView and TableView was incorrect, causing a larger area to be repainted than necessary. Now, artifacts appear as the user navigates a list view or table view whose rows are partially obscured. This is visible in the Tables section of the Kitchen Sink app - select row 5 in the Sortable table example and press the down arrow several times.
> Turning off the scroll pane optimization resolves the issue - however, that is obviously not ideal. Another possible short-term workaround is to repaint the entire component when the selection changes in a list view or table view. This is also not ideal but may suffice until a more complete fix can be applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.