Merge lp:~nicolas-doffay/unity8/category-transition-speed-fix into lp:unity8
Proposed by
Nicolas d'Offay
Status: | Superseded |
---|---|
Proposed branch: | lp:~nicolas-doffay/unity8/category-transition-speed-fix |
Merge into: | lp:unity8 |
Diff against target: |
123 lines (+46/-14) 3 files modified
Components/FilterGrid.qml (+34/-3) Dash/GenericScopeView.qml (+1/-5) tests/qmltests/Components/tst_FilterGrid.qml (+11/-6) |
To merge this branch: | bzr merge lp:~nicolas-doffay/unity8/category-transition-speed-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Michał Sawicz | Needs Fixing | ||
Albert Astals Cid (community) | Needs Information | ||
Review via email: mp+195203@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-01-30.
Commit message
Changed category transition animation to expand and collapse at a constant speed.
To post a comment you must log in.
Unmerged revisions
- 528. By Nicolas d'Offay
-
Fixed up comparison operator.
- 527. By Nicolas d'Offay
-
Attempted fix for speed issue.
- 526. By Nicolas d'Offay
-
Updated FilterGrid test to use animation system.
- 525. By Nicolas d'Offay
-
Fixed transitioning bug.
- 524. By Nicolas d'Offay
-
Renamed height variable.
- 523. By Nicolas d'Offay
-
Catered for transitions where the uncollapased height is less than the height.
- 522. By Nicolas d'Offay
-
Wrapped onStarted logic in brackets.
- 521. By Nicolas d'Offay
-
Added two step animation for category expansion and collapse.
That's not enough, I'm afraid.
The intermediate height is more complicated: it needs to take y and uncollapsed height into account. Say the category is scrolled up so that its first row is offscreen, you animate its height to genericScopeHeight, but that means the last row of the expanded category won't get animated (just scroll a category up so that it's offscreen and expand it then - you'll see the bottom behaving incorrectly). If uncollapsedHeight is smaller than genericScopeHeight, you animate to genericScopeHeight and then collapse back to uncollapsedHeight (you can see that when expanding "Applications" in Home - the second category disappears for a fraction of a second).