[TIMOB-15755] Android: Return event does not get fired in Nexus 7 (v4.3)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-27T01:25:24.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 24, 2013 Sprint 24 API, Release 3.2.0, Release 3.3.0 |
Components | Android |
Labels | enterprise, module_textarea, qe-3.2.0, qe-testadded, regression |
Reporter | Pragya Rastogi |
Assignee | Hieu Pham |
Created | 2013-11-20T09:21:52.000+0000 |
Updated | 2014-02-20T10:36:38.000+0000 |
Description
Working fine in Galaxy Nexus (4.0.4). and SDK 3.1.3.GA
Steps to repro:
(make sure SDK:3.2.0.v20131119142443)
1. Run attached app on Nexus 7 (v4.3)
2. Press the text area
3. Press the return/Enter key on the keyboard
Actual:Return event does not get fired in Nexus 7 (v4.3)
Expected: Event should get fired.
Note: Device specific on Nexus 7 (v4.3)
var _window = Titanium.UI.createWindow({
backgroundColor:'blue'
});
//_window.setBackgroundColor('blue');
var textArea = Ti.UI.createTextArea({
value : 'TextArea',
top : '20%',
height : '30%',
left : '10%',
right : '10%'
});
textArea.addEventListener('return', function() {
alert('return event fired');
});
_window.add(textArea);
_window.open();
Attachments
File | Date | Size |
---|---|---|
ReturnEvent.zip | 2013-11-20T09:21:52.000+0000 | 3135079 |
I tested for different config's & below are my findings:
App built with 3.2.0.v20131122172908 sdk:
Galaxy s4 (4.2.2)-- Good Nexus 5 (4.4) -- Bad Nexus 7 (4.2) -- Bad Nexus 7 (4.3) -- Bad Note 2 (4.1.2) -- Good Galaxy s3 (4.0.4) -- GoodApp built with 3.1.3.GA sdk:
Galaxy s4 (4.2.2)-- Good Nexus 5 (4.4) -- Good Nexus 7 (4.2) -- Good Nexus 7 (4.3) -- Good Note 2 (4.1.2) -- Good Galaxy s3 (4.0.4) -- Good Environment: Appcel Studio : 3.2.0.201311221207 Ti SDK : 3.2.0.v20131122172908 Mac OSX : 10.8.5 Alloy : 1.3.0-alpha6 CLI - 3.2.0-alphaPR https://github.com/appcelerator/titanium_mobile/pull/5035
3.2.X PR: https://github.com/appcelerator/titanium_mobile/pull/5041
Verified the fix. We get a return event successfully. Closing. Environment: Appcel Studio : 3.2.0.201311261642 Ti SDK : 3.2.0.v20131127110843 Mac OSX : 10.8.5 Alloy : 1.3.0 from github CLI - 3.2.0-beta Nexus 5 - android 4.4