GridView that is inside tabs or pagestack on desktop judders when the header scrolls in/out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
GridView that is inside tabs or pagestack on desktop judders when the header scrolls in/out
What happened:
1) Create gridview that is inside tabs [0] or pagestack
2) Open the application on desktop
3) Attempt to scroll up/down (using the mouse wheel or touchpad scroll)
4) Notice that as the header is shown/hidden it judders and isn't smooth
What I expected to happen:
At step 4 for the header to slide in/out smoothly
It should also be noted if you click and drag, this is not affected and the header correctly slides out.
Furthermore this only appears to happen if it is inside a Tab or PageStack, if you just have a MainView -> Page -> GridView its fine.
0 - http://
$ lsb_release -rd
Description: Ubuntu 15.10
Release: 15.10
$ apt-cache policy qtdeclarative5-
qtdeclarative5-
Installed: 1.3.1627+
Candidate: 1.3.1627+
Version table:
*** 1.3.1627+
500 http://
100 /var/lib/
Related branches
- Zsombor Egri: Approve
- Andrew Hayzen (community): Approve (functional)
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 90 lines (+18/-20)4 files modifiedsrc/Ubuntu/Components/1.3/AdaptivePageLayout.qml (+1/-0)
src/Ubuntu/Components/1.3/AppHeader.qml (+5/-0)
src/Ubuntu/Components/1.3/MainView.qml (+3/-20)
src/Ubuntu/Components/Themes/Ambiance/1.3/PageHeadStyle.qml (+9/-0)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
The problem occurs when the Page is changing its height when scrolling. The problem does not occur though with a Flickable or ListView instead of the GridView, or when there are no Tabs to hold the Page.
To work around this in the example code, you can set the width and height of the Page to the width and height of the MainView.