[TIMOB-9487] Android: KS: tab focus event keeps being fired
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-18T13:24:59.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-12 API |
Components | Android |
Labels | api, regression |
Reporter | Ping Wang |
Assignee | Josh Roesslein |
Created | 2012-06-11T14:58:49.000+0000 |
Updated | 2012-06-18T20:24:03.000+0000 |
Description
Steps to reproduce:
1. Run KS
2. Check the label at the bottom of the screen. It keeps showing "tab changed to 1 old index 0".
It's a regression. It does not happen with 2.0.2.
The cause of this bug is how Android now "bubbles" all window events to the tab and tab group. Requires parity discussion to determine if this is correct behavior.
TabGroup/Window events test case
Here is the event results you should see as you run through the test case:
[PR #2415](https://github.com/appcelerator/titanium_mobile/pull/2415) sent.
Note that the above test case is no longer valid. We decided only to fix the regression that was causing the KS behavior described in the ticket. So the test should be that KS behavior.
Closing issue Tested with Ti Studio build 2.1.0.201206172244 Ti Mobile SDK2.1.0.v20120618134156 hash r00905cd0 OSX Lion 10.7.3 Nexus S OS 4.0.4 The expected behavior is shown from the KS test