[TIMOB-7012] Android: Modal WIndow: Kindle Fire: v8/rhino: performance on text field entry is slow and unusable when a window is opened as a modal
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-06-07T21:46:49.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Natalie Huynh |
Assignee | Ingo Muschenetz |
Created | 2012-01-05T15:50:32.000+0000 |
Updated | 2017-06-07T21:46:49.000+0000 |
Description
Steps to reproduce:
1. Copy the code below to app.js and compile
var win = Ti.UI.createWindow({ backgroundColor:'#000' });
var win2 = Ti.UI.createWindow({ navBarHidden:true, backgroundColor:'#f00' });
var btn = Ti.UI.createButton({ title:'open', height:50, left:10, right:10 });
btn.addEventListener('click', function(e) {
var textField = Ti.UI.createTextField({ height:50, left:10, right:10 });
win2.add(textField);
win2.open({ modal:true });
});
win.add(btn);
win.open();
2. Click on open
3. Click the text field and enter data
Actual Result:
The entry is slow and unusable, sometimes enter characters as if it is a longpress
Expected Result:
Should be usable
The problem cannot reproduces with release 3.0.2 and master release 3.1.0 tested on: Titanium Studio, build: 3.0.2.201302191606 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 Device: Samsung galaxy s duos Android version: 4.0.4 Android Emulator: Android SDK version: 2.2 iOS iPhone Simulator: iOS SDK version: 6.0