GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-04T00:57:27.000+0000 |
Affected Version/s | Release 2.1.0, Release 2.1.1 |
Fix Version/s | Sprint 2012-17 API, Release 2.1.2, Release 3.0.0 |
Components | Android |
Labels | api, module_scrollview, qe-review, qe-testadded, regression |
Reporter | Federico Casali |
Assignee | Hieu Pham |
Created | 2012-08-15T12:23:19.000+0000 |
Updated | 2012-09-04T00:57:27.000+0000 |
Problem description
On Android, app crashes if scrolling a scrollview using 3 fingers
Sample code and steps to reproduce
var win = Ti.UI.createWindow({
backgroundColor:"white"
});
var scrollView = Ti.UI.createScrollView({
top:0,
width:200,
height:"100%",
contentHeight:2000,
backgroundColor:"green"
});
win.add(scrollView);
win.open();
Scroll up and down the scrollView using three fingers.
Result: app will crash. Attaching crash log
Not reproducible using 2.0.2 GA SDK
This is a known Android bug. Basically if you use 3+ fingers to touch on a scrollview, it will throw an exception. Here's the link to that bug: http://code.google.com/p/android/issues/detail?id=18990. It seems that they already fixed this issue and plan to release it next patch. In the meantime, we will catch the exception.
Environment used for verification - Tested with Titanium SDK: 2.2.0.v20120815194913 Tested with Titanium Studio: 2.1.1.201207271312 Device - Samsung Galaxy Nexus Android 4.0.2 Machine OS - MAC 10.8
Reopening to update labels