Merge lp://qastaging/~fboucault/unity-2d/fix_nested_grid_view_positioning into lp://qastaging/unity-2d/0.4
Proposed by
Florian Boucault
Status: | Merged |
---|---|
Approved by: | Florian Boucault |
Approved revision: | 385 |
Merged at revision: | 389 |
Proposed branch: | lp://qastaging/~fboucault/unity-2d/fix_nested_grid_view_positioning |
Merge into: | lp://qastaging/unity-2d/0.4 |
Diff against target: |
36 lines (+16/-7) 1 file modified
places/RendererGrid.qml (+16/-7) |
To merge this branch: | bzr merge lp://qastaging/~fboucault/unity-2d/fix_nested_grid_view_positioning |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy (community) | code | Approve | |
Review via email:
|
Description of the change
[dash] Fixed synchronisation of GridView in places/
The conditions on flickable.height and totalHeight were in the wrong place: we always
want to set 'y' and 'contentY'. Only in some cases they should be set to 0.
Handle extra cases where synchronisation is required: when the model changes and
when the number of items in the model changes.
To post a comment you must log in.
This fix is tricky because it's part of a bigger hack whose rationale is explained in the FIXME above the modified code. Explaining this hack is very tricky and understanding it very difficult as well.
To review that MR I suggest that the reviewer proceeds to functional testing and especially stress testing on scrolling up and down the grid of results and at the same time expanding/folding groups and also switching sections.