You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2012/05/07 18:06:49 UTC

[jira] [Issue Comment Edited] (PIVOT-738) artefact problem with 2 scrollPane and TableView

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

Sandro Martini edited comment on PIVOT-738 at 5/7/12 4:06 PM:
--------------------------------------------------------------

sample screenshot running the Pivot738.java test application, but with a window size like mine, then scroll the main (external) scrollbar, then click on the list, and finally try to scroll (the internal scrollbar) with the mouse wheel ... the repainted area is with a red border in the screen capture image (added by me).

I think that all the problem is due to a bad calculation of bounds, probably inside ScrollPaneSkin.scrollTopChanged (and maybe even in scrollLeftChanged) ...
Ok, so for a safer fix/workaround for now is to add a full repaint of vieport bounds, but only when a dedicated (new) style property repaintAllViewport is true, otherwise keep the current flow (by default) ... and maybe in the meantime (but could be in the next release) find a better solution.

What do you think ?

                
      was (Author: smartini):
    sample screenshot running the Pivot738.java test application, but with a window size like mine, then scroll the main (external) scrollbar, then click on the list, and finally try to scroll (the internal scrollbar) with the mouse wheel ... the repainted area is with a red border in the screen capture image (added by me).

I think that all the problem is due to a bad calculation of bounds, probably inside ScrollPaneSkin.scrollTopChanged (and maybe even in scrollLeftChanged) ...

                  
> artefact problem with 2 scrollPane and TableView
> ------------------------------------------------
>
>                 Key: PIVOT-738
>                 URL: https://issues.apache.org/jira/browse/PIVOT-738
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0
>            Reporter: Duto
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.0.2
>
>         Attachments: pivot-738_redraw_area_with_red_annotation.jpg, screenshot-1.jpg, screenshot-2.jpg
>
>
> I have a strange problem when I use a 2 scrollpane with a ListView :
> see my attach screenshots and my video (http://www.youtube.com/watch?v=DpBIWZ-fT_M).
> The list is not properly refresh when I use the scrollbar or I use mousewheel. With the keyboard that work perfectly.
> I have only this issue if the tableViewHeader is hidden by the global scrollpane.
> Best regards
> Duto
> Discussion: http://apache-pivot-users.399431.n3.nabble.com/artefact-problem-td2836083.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira