[TIMOB-15700] ANDROID: focus event not getting triggered in window
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2018-06-29T20:40:34.000+0000 |
Affected Version/s | Release 3.1.3 |
Fix Version/s | n/a |
Components | Android |
Labels | Android |
Reporter | Shameer Jan |
Assignee | Unknown |
Created | 2013-11-12T06:38:06.000+0000 |
Updated | 2018-06-29T20:40:34.000+0000 |
Description
Problem Description
Steps to reproduce 1.Run following code Expected result: All alert box should appear Actual result: There is no alertTest case
var win = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
win.addEventListener('focus', function(){
var a=10;
var b=5;
var c=(a+b)*b;
alert(a);
alert(b);
alert(c);
});
win.open();
The following anvil PR's are affected due to this ticket: https://github.com/appcelerator/titanium_mobile/pull/4806 https://github.com/appcelerator/titanium_mobile/pull/4863 https://github.com/appcelerator/titanium_mobile/pull/4876 https://github.com/appcelerator/titanium_mobile/pull/4943 As of now we QE will comment these tests during anvil run & when the ticket is fixed will uncomment the tests again.
Unable to reproduce in Titanium 6.0.2. Looks like it was already fixed. The window is definitely getting the "focus" when opened.