Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2071] Android: Wrong inital tab is loaded, and unexpected values when changing tabs

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M05
ComponentsAndroid
Labelsandroid, android_refactor, defect, regression, tab
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:09:38.000+0000
Updated2011-04-17T01:57:59.000+0000

Description

g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264.

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

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

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

Comments

  1. Marshall Culpepper 2011-04-15

    (from [1547d9941f20b4e8bd758d794b28e7a4f7f92501]) fire focus/blur events for tabs from TiUITabGroup instead of from View.onViewFocus (this solves the event creation chicken/egg problem) [#2071 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/1547d9941f20b4e8bd758d794b28e7a4f7f92501"> http://github.com/appcelerator/titanium_mobile/commit/1547d9941f20b...

  2. Thomas Huelbert 2011-04-15

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

    tabGroup.setActiveTab(1);

  3. Don Thorp 2011-04-15

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

    Applied patches from Opie.
    https://github.com/appcelerator/titanium_mobile/commit/1a7937305947647b7bdf370a265f834201a1760e"> https://github.com/appcelerator/titanium_mobile/commit/1a7937305947...

  4. Thomas Huelbert 2011-04-15

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

JSON Source