Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15755] Android: Return event does not get fired in Nexus 7 (v4.3)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-27T01:25:24.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 24, 2013 Sprint 24 API, Release 3.2.0, Release 3.3.0
ComponentsAndroid
Labelsenterprise, module_textarea, qe-3.2.0, qe-testadded, regression
ReporterPragya Rastogi
AssigneeHieu Pham
Created2013-11-20T09:21:52.000+0000
Updated2014-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

FileDateSize
ReturnEvent.zip2013-11-20T09:21:52.000+00003135079

Comments

  1. Lokesh Choudhary 2013-11-25

    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) -- Good

    App 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-alpha
  2. Ping Wang 2013-11-27

    PR https://github.com/appcelerator/titanium_mobile/pull/5035
  3. Hieu Pham 2013-11-27

    3.2.X PR: https://github.com/appcelerator/titanium_mobile/pull/5041
  4. Lokesh Choudhary 2013-11-27

    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

JSON Source