Project: titanium
Issue TIMOB-18564: ImageView - Image Array; fails consistently on Android
When setting the Images array property and allowing the ImageView to display for more than 4 minutes. * Changing the number of images within the array does not affect the failure * Changing the location of the source files does not affect the failure * Changing the duration does not affect the failure * Changing the size of the Image width and height does not affect the failure * Having one or more ImageViews each with the same or different numbers of array images does not affect the failure * Setting a repeatCount does not affect the failure (if the count exceeds the failure point) * Not having a repeatCount does not affect the failure * File format of Image does not affect the failure It appears to be related to a combination of iterations, duration and size - but each attempt to work out the issue results in failure in around 5 minutes or less. {panel:title=Error message|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE}OpenGLRenderer: Cannot generate texture from bitmap{panel} Simplified example code; {code:title=View|xml} {code} {code:title=Controller|JavaScript} $.img.setImages([ "/images/red/red1.png", "/images/red/red2.png", "/images/red/red3.png", "/images/red/red4.png" ]); {code} Simply leaving the animation to continue crashes the image, empties the ImageView to black and shows the error message above in the console each additional iteration.
Story points: 8