Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16254] iOS: Dynamic operations of the Coverflow, result in flickering effect

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-02-06T18:26:29.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 03, 2014 Sprint 03 API, Release 3.3.0
ComponentsiOS
Labelsmodule_coverflowview, qe-manualtest, supportTeam, triage
ReporterEduardo Gomez
AssigneeVishal Duggal
Created2014-01-20T19:09:53.000+0000
Updated2014-08-08T17:23:20.000+0000

Description

Issue description

Developer need to display 2 set of images of the Coverflow component using a similar approach as seen at Kitchen Sink demo I.E. https://github.com/appcelerator/KitchenSink/blob/master/Resources/ui/handheld/ios/baseui/coverflow_replace.js#L42 Basically to add/remove elements into an existing Coverflow object they switch from a 4-image-array to a 3-image-array the last two images of the first array will still be present and to avoid that tried the work around by going to the end of the array and back to 0. That produces visual glitch. A possible solution, was to dump out array of images although an array bound exception error keeps coming (Without this work around no issues are found but it can take several clicks to refresh the Component): {quote} [ERROR] : attempt to select index: -1 that is out of bounds. Number of images: 4 or 3 {quote}

Steps to reproduce

1) Get stripped down sample attached (includes app.js with 7 images of Coverflow) 2) Slide either left or right of Coverflow object 3) Attempt to click 'change' to activate event listener 4) Monitor Studio console. From time to time set of images wouldn't be refreshed or exceptions thrown.

Attachments

FileDateSize
coverflowSampleClassic.zip2014-01-20T19:09:53.000+00003333404

Comments

  1. Vishal Duggal 2014-02-04

    Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/5318
  2. Olga Romero 2014-04-25

    Testsed the above code and cannot reproduce the reported issue with: Appcelerator Studio, build: 3.3.0.201404221437 Titanium SDK, build 3.3.0.v20140424130915 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.4.0-dev ├── node-appc@0.2.2 ├── npm@1.3.2 ├── titanium@3.3.0-dev └── titanium-code-processor@1.1.1-beta1 npm -g ls titanium: /usr/local/lib └── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422) XCode Version: 5.1.1 Device: iPhone5S iOS version 7.0
  3. Neha Mittal 2014-04-29

    I am not able to reproduce the reported issue. Test with the above code using environment: Appc Studio: 3.3.0.201404281355 SDK build: 3.3.0.v20140425191906 acs: 1.0.14 npm: 1.3.2 alloy: 1.4.0-dev CLI: titanium-3.3.0-dev titanium-code-processor:1.1.1-beta1 Xcode: 5.1.1 Osx: Mavericks(10.9.2) Device: iPhone 5S (7.1.1) Neither observed flickering effect nor the mentioned error. Hence closing the issue.

JSON Source