← Back to team overview

touch-packages team mailing list archive

[Bug 1410128] [NEW] Carousel and HorizontalList visibility ranges/buffer are not set correctly

 

Public bug reported:

We are creating items in Carousels and HorizontalList regardless of
their visibility, need to hook up the item.displayMarginBeginning,
item.displayMarginEnd and item.cacheBuffer properly

How to test:
Add 
  Component.onCompleted: console.log("CC Create", index, cardCarousel.objectName)
  Component.onDestruction: console.log("CC Destroy", index, cardCarousel.objectName)
to the CardCarousel.qml loader and start tryDashContent, see how there's looooooooooots of card carousel items being created when there's hardly any on screen.

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1410128

Title:
  Carousel and HorizontalList visibility ranges/buffer are not set
  correctly

Status in unity8 package in Ubuntu:
  New

Bug description:
  We are creating items in Carousels and HorizontalList regardless of
  their visibility, need to hook up the item.displayMarginBeginning,
  item.displayMarginEnd and item.cacheBuffer properly

  How to test:
  Add 
    Component.onCompleted: console.log("CC Create", index, cardCarousel.objectName)
    Component.onDestruction: console.log("CC Destroy", index, cardCarousel.objectName)
  to the CardCarousel.qml loader and start tryDashContent, see how there's looooooooooots of card carousel items being created when there's hardly any on screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1410128/+subscriptions


Follow ups

References