[TIMOB-23560] Windows: Setting images on ImageView will crash the app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-06-30T12:40:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Kota Iguchi |
Created | 2016-06-27T13:08:37.000+0000 |
Updated | 2016-07-01T08:48:41.000+0000 |
Description
When setting an array of images to an imageview the app crashes. Attached are array of images used. When the images array is stripped out and replaced by "image" and just the first image it will not crash but show the image.
This is code:
"#loader": {
width: 75,
height: 75,
backgroundColor: '#88ffffff',
zIndex: 99,
borderRadius: 3
}
"#loaderImage": {
visible: true,
images: [
'/images/loader/Roamler_app_loader_00.png',
'/images/loader/Roamler_app_loader_01.png',
'/images/loader/Roamler_app_loader_02.png',
'/images/loader/Roamler_app_loader_03.png',
'/images/loader/Roamler_app_loader_04.png',
'/images/loader/Roamler_app_loader_05.png',
'/images/loader/Roamler_app_loader_06.png',
'/images/loader/Roamler_app_loader_07.png',
'/images/loader/Roamler_app_loader_08.png',
'/images/loader/Roamler_app_loader_09.png',
'/images/loader/Roamler_app_loader_10.png',
'/images/loader/Roamler_app_loader_11.png',
'/images/loader/Roamler_app_loader_12.png',
'/images/loader/Roamler_app_loader_13.png',
'/images/loader/Roamler_app_loader_14.png',
'/images/loader/Roamler_app_loader_15.png',
'/images/loader/Roamler_app_loader_16.png',
'/images/loader/Roamler_app_loader_17.png',
'/images/loader/Roamler_app_loader_18.png',
'/images/loader/Roamler_app_loader_19.png',
'/images/loader/Roamler_app_loader_20.png',
'/images/loader/Roamler_app_loader_21.png',
'/images/loader/Roamler_app_loader_22.png',
'/images/loader/Roamler_app_loader_23.png',
'/images/loader/Roamler_app_loader_24.png',
'/images/loader/Roamler_app_loader_25.png',
'/images/loader/Roamler_app_loader_26.png',
'/images/loader/Roamler_app_loader_27.png',
'/images/loader/Roamler_app_loader_28.png',
'/images/loader/Roamler_app_loader_29.png'
],
duration: 67,
width: 75,
height: 75
}
<Alloy>
<View id="loader">
<ImageView id="loaderImage" />
</View>
</Alloy>
Attachments
File | Date | Size |
---|---|---|
loader.zip | 2016-06-27T13:07:43.000+0000 | 151262 |
5_4_X: https://github.com/appcelerator/titanium_mobile_windows/pull/758 master: https://github.com/appcelerator/titanium_mobile_windows/pull/760
Fixed and merged to 5_4_X. NOTE: That the sequence may flicker if the
duration
is set too high, this is a platform issue see: [Flickering Issue with Image Animations](https://social.msdn.microsoft.com/Forums/windows/en-US/1b3f556c-07e2-40e4-b895-1d78bf829a13/flickering-issue-with-image-animations?forum=wpdevelop)Verified using: Windows 10 Pro Ti SDK: 5.4.0.v20160630074247 Appc NPM: 4.2.7-2 Appc CLI: 5.4.0-23 Appc Studio: 4.7.0.201606220541 Lumia 930: 10.0 Lumia 520: 8.1 Setting the images property on ImageView no longer crashes the application Closing ticket