[TIMOB-2447] Android: KS View - Image view - Image Scaling test sometimes fails showing dimensions
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:59:08.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 M04 |
| Components | Android |
| Labels | android, defect |
| Reporter | Bill Dawson |
| Assignee | Bill Dawson |
| Created | 2011-04-15T03:20:05.000+0000 |
| Updated | 2011-04-17T01:59:08.000+0000 |
Description
On slow device / slow network connection, it can fail to get the imageview.toBlob (not loaded yet.)
(from [7366b3a07a45fffbd40977b84d8565d28ed1da10]) [#2447 state:fixed-in-qa] Give KS user opportunity to re-check the width/height of scaled image in cases where loading time (fetching from network) is long https://github.com/appcelerator/titanium_mobile/commit/7366b3a07a45fffbd40977b84d8565d28ed1da10"> https://github.com/appcelerator/titanium_mobile/commit/7366b3a07a45...
With this fix, if you're on a device that can't load it within the 2 second timeout, you get an informative label and opportunity to touch that label to re-check the dimensions once the image has been successfully downloaded.
Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8) KitchenSink, Android 1.6 Device, 2.1 Sim