ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00041
[Bug 1217924] Re: Add patch for letting users of a QML ListView specify the delegate creation range
This bug was fixed in the package qtdeclarative-opensource-src -
5.0.2-6ubuntu2
---------------
qtdeclarative-opensource-src (5.0.2-6ubuntu2) saucy; urgency=low
* Add qtquick_delegate_creation_range_itemviews.patch to patchset.
(LP: #1217924)
-- Michal Sawicz <michal.sawicz@xxxxxxxxxxxxx> Wed, 11 Sep 2013 14:03:31 +0200
** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtdeclarative-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1217924
Title:
Add patch for letting users of a QML ListView specify the delegate
creation range
Status in “qtdeclarative-opensource-src” package in Ubuntu:
Fix Released
Bug description:
By defaeult a QML ItemViews create items from contentY to
contentY+height (with some buffering before and after). This is
problematic when you embed an ItemView inside an ItemView (like we do
in the dash) because you may end up with lots more of delegates
instantiated than needed.
This patch adds two properties to the QML ItemViews letting a user
decided if he wants to provide a range for delegate creation.
It comes with unit tests that show how only the needed items are being
created instead of the full item view height.
After discussing this with the Qt Project QtQuick maintainer at the Qt
Contributor Summit he rejected the idea to add this new feature in
upstream Qt he decided to reject the idea as it was adding more
feature cruft to classes that he wants rewritten. The rewrrite of
those classes would also add this functionality so we are "safe" in
this regard.
The patch need reviewing. I will be adding some Qt knowledgeable
people to have a look.
More info at https://bugreports.qt-project.org/browse/QTBUG-32338 and
https://codereview.qt-project.org/#change,60809
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1217924/+subscriptions