Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3056] Android: Crash when ImageViews can't get their parent width

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:48.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M08
ComponentsAndroid
Labelsandroid, imageview, lifecycle_refactor, regression, release-1.6.0, reported-1.6.0
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:35:44.000+0000
Updated2011-04-17T02:00:48.000+0000

Description

The KS Views > Image View > Image View Scaling test crashes when it tries to get the parent window size before it's finished showing

Comments

  1. Marshall Culpepper 2011-04-15

    (from [1cd0f0efe211ee8b3dea19f4f3c080abbcc7beb2]) fallback to natural size when the decor view doesn't have a width yet. updated KS image scaling test to set a larger width (325px)
    [#3056 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/1cd0f0efe211ee8b3dea19f4f3c080abbcc7beb2"> https://github.com/appcelerator/titanium_mobile/commit/1cd0f0efe211...

  2. Thomas Huelbert 2011-04-15

    [INFO] Titanium SDK version: 1.6.0 (02/08/11 20:55 bd9d124...) galaxy tab (2.2.2) G1 (1.6) Nexus S (2.3) sim 2.1

JSON Source