Need a ListView Item that redefines the default cacheBuffer

Bug #1279264 reported by Albert Astals Cid
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Undecided
Zsombor Egri

Bug Description

ListView cacheBuffer is hardcoded in Qt to 320 pixels. Since we are GU based we should have a UListView item that is something like

ListView {
    cacheBuffer: units.gu(40)
}

So people can use it on all kinds of displays and get the same cacheBuffer behaviour

Revision history for this message
Zsombor Egri (zsombi) wrote :

This should be included in the UbuntuListView component.

Revision history for this message
Albert Astals Cid (aacid) wrote :

Should as "it is already a feature of UbuntuListView" or should as "it is a good idea that is in UbuntuListView"?

Revision history for this message
Zsombor Egri (zsombi) wrote :

Ok, "will" not "should" :) We agreed that mzanetti will rename ExpandablesListView into UbuntuListView, as that already will provide some basic stuff for ListView (like make sure the expanded item stays always inside the ListView visible area), so we can add this feature (among others) to the same UbuntuListView. The plan is to add standard deceleration, snapping, rebounding animations, as well as PullToRefres optional functionality to initiate model refresh.

Changed in ubuntu-ui-toolkit:
assignee: nobody → Zsombor Egri (zsombi)
Michał Sawicz (saviq)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
status: New → Confirmed
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.