Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-02T20:37:13.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsqe-and121411, qe-new
ReporterEric Merriman
AssigneeIngo Muschenetz
Created2011-12-14T15:55:32.000+0000
Updated2017-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.

Comments

  1. Eric Merriman 2011-12-16

    Occurs on the NookColor with SDK 1.8.0.1.v20111216124633 in both Rhino and v8 compiles. Updating title to reflect this.
  2. Jeff Cross 2012-02-03

    Comment Removed by Creator
  3. Lee Morris 2017-06-02

    Closing ticket as invalid this version of Kitchen Sink is no longer supported.

JSON Source