[TIMOB-6672] Android : image view encoding - v8/Rhino - SkImageDecoder tries 5 times then gives up trying to decode source image - no image is displayed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-02T20:37:13.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-and121411, qe-new |
Reporter | Eric Merriman |
Assignee | Ingo Muschenetz |
Created | 2011-12-14T15:55:32.000+0000 |
Updated | 2017-06-02T20:37:13.000+0000 |
Description
Description:
During a KS pass on v8 on the LG slate, the Base UI>Views>Image Views>Image View Encoding test fails to show an image. The console reports the following:
I/ActivityManager( 154): Starting: Intent { cmp=com.appcelerator.titanium/org.appcelerator.titanium.TiActivity (has extras) } from pid 1025
D/Window ( 1025): Loading window with URL: ../examples/image_view_encoding.js
D/Module ( 1025): Loading module: ../examples/image_view_encoding -> Resources/examples/image_view_encoding.js
W/TiDrawableReference( 1025): (main) [6485,1159762] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
I/nvos_linux_stub( 87): stub_helper: alloc carveout_genric
D/dalvikvm( 1025): GC_CONCURRENT freed 1315K, 15% free 9816K/11527K, paused 2ms+5ms
D/TiUIImageView( 1025): (main) [252,1160014] Retrying bitmap decode: 1/5
W/TiDrawableReference( 1025): (main) [3,1160017] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
I/ActivityManager( 154): Displayed com.appcelerator.titanium/org.appcelerator.titanium.TiActivity: +397ms
D/TiUIImageView( 1025): (main) [257,1160274] Retrying bitmap decode: 2/5
W/TiDrawableReference( 1025): (main) [3,1160277] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
D/TiUIImageView( 1025): (main) [258,1160535] Retrying bitmap decode: 3/5
W/TiDrawableReference( 1025): (main) [3,1160538] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
D/TiUIImageView( 1025): (main) [258,1160796] Retrying bitmap decode: 4/5
W/TiDrawableReference( 1025): (main) [2,1160798] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
D/TiUIImageView( 1025): (main) [256,1161054] Retrying bitmap decode: 5/5
W/TiDrawableReference( 1025): (main) [3,1161057] Bitmap bounds could not be determined. If bitmap is loaded, it won't be scaled.
D/skia ( 1025): --- SkImageDecoder::Factory returned null
E/TiUIImageView( 1025): (main) [8,1161065] Max retries reached, giving up decoding image source: http://www.zoomout.gr/assets/media/PICTURES/%CE%9C%CE%9F%CE%A5%CE%A3%CE%99%CE%9A%CE%97/651_thumb1.jpg
Steps to reproduce:
1) Install KS with SDK 1.8.0.1
2) Navigate to Base UI>Views>Image Views>Image View Encoding
Result:
The image does not display, the console reports errors.
Expected:
Image loads with no errors reported
Note:
Does not occur on the Xoom running with rhino compile.
Occurs on the NookColor with SDK 1.8.0.1.v20111216124633 in both Rhino and v8 compiles. Updating title to reflect this.
Comment Removed by Creator
Closing ticket as invalid this version of Kitchen Sink is no longer supported.