Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2538] Android: Image view defaultImage won't show if main image is network url

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M05
ComponentsAndroid
Labelsandroid, defect, regression, rplist
ReporterBill Dawson
AssigneeBill Dawson
Created2011-04-15T03:22:11.000+0000
Updated2011-04-17T01:59:23.000+0000

Description

(Noticed by GG.) This appears to be a regression that I introduced. Steps to reproduce:

  • Install KS on phone / emulator.
  • IMPORTANT Delete the KS image cache by doing the following from terminal / command-line:
> adb shell
> cd /sdcard
> rm -r com.appcelerator.titanium*
> exit
  • On the phone / emulator, disable all network stuff. (The point is, we're testing that a defaultImage appears in an image view whose main image is available only via http.)
  • Run the Base UI -> Views -> Image Views -> Remote Image test.

There are supposed to be two clouds showing, but you'll see only one.

Comments

  1. Bill Dawson 2011-04-15

    (from [2520ca30540eeb966b64aa5b9a27ad68c9c733b9]) [#2538 state:fixed-in-qa] when background-loading image, don't wipe out the view's drawable if the default image has been set https://github.com/appcelerator/titanium_mobile/commit/2520ca30540eeb966b64aa5b9a27ad68c9c733b9"> https://github.com/appcelerator/titanium_mobile/commit/2520ca30540e...

  2. Thomas Huelbert 2011-04-15

    looking good against [INFO] Titanium SDK version: 1.5.0 (12/10/10 09:14 0c31e15) sim and device.

JSON Source