{ "id": "62703", "key": "TIMOB-2071", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11230", "name": "Release 1.5.0 M05", "archived": true, "released": true, "releaseDate": "2010-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:59.000+0000", "created": "2011-04-15T03:09:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "defect", "regression", "tab" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:59.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

g1 running 1.6 and the sim running 2.2 Ti Mobile sdk\n1.5.0.02c264.

\n

1.launch kitchen sink (first launch)
\n2.Tap platform tab and note the alert

\n

results: KS opens to tab BaseUI be default, and tapping platform\ntab invoked: \"chnaged to 0 old -1\"

\n

expected: open on tabGroup.setActiveTab(1); , changing tabs\nshould refelect actual tab values

{html}", "attachment": [], "flagged": false, "summary": "Android: Wrong inital tab is loaded, and unexpected values when changing tabs ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127409", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [1547d9941f20b4e8bd758d794b28e7a4f7f92501])\nfire focus/blur events for tabs from TiUITabGroup instead of from\nView.onViewFocus (this solves the event creation chicken/egg\nproblem) [#2071 state:fixed-in-qa] \nhttp://github.com/appcelerator/titanium_mobile/commit/1547d9941f20b...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:39.000+0000", "updated": "2011-04-15T03:09:39.000+0000" }, { "id": "127410", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.5.0.62c1cae - the tab values are now appearing as expected\nwhen changing tabs - but the app opens to tab 0 by default. Tye\nscript asks for

\n

tabGroup.setActiveTab(1);

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:39.000+0000", "updated": "2011-04-15T03:09:39.000+0000" }, { "id": "127411", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [1a7937305947647b7bdf370a265f834201a1760e])\n[#2412 state:fixed-in-qa][#2071\nstate:fixed-in-qa] Merge branch 'master' of\nssh.github.com:appcelerator/titanium_mobile

\n

Applied patches from Opie.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/1a7937305947...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:40.000+0000", "updated": "2011-04-15T03:09:40.000+0000" }, { "id": "127412", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.5.0 (12/10/10 08:19 f37ab6c)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:41.000+0000", "updated": "2011-04-15T03:09:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }