Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-555] Android: focus/blur data on tab change is incorrect

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M01
ComponentsAndroid
Labelsandroid, blur, defect, focus, tabGroup, tabgroup
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:31:46.000+0000
Updated2011-04-17T01:53:30.000+0000

Description

The tabchange event comes long after the focus/blur occurs. This wasn't a problem before 0.9 because tabchange was separate from focus/blur.

Comments

  1. Thomas Huelbert 2011-04-15

    valid, has testcase

  2. Lukasz 2011-04-15

    Is there any chance this will be fixed soon?

  3. Lukasz 2011-04-15

    A nasty hack for this problem. It works for me for 99%:

       tabGroup.addEventListener('focus', function(e)
       {
           setTimeout(function()
           {       
               Ti.API.debug('tab changed to ' + tabGroup.activeTab);        
           },100);
       });
       
  4. Matt Schmulen 2011-04-15

    Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8) KitchenSink, Android 1.6 Device, 2.1 Sim

  5. krishnan 2011-04-15

    is this bug fixed? please provide a alternative to this problem if not fixed.

  6. WatsonInk 2011-04-15

    I would like to know if is this bug fixed? please provide an alternative to this problem if not fixed.

  7. Don Thorp 2011-04-15

    It's in a resolved state, so yes it's fixed.

JSON Source