Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10452] Android: App crashes if scrolling a scrollview on android with 3 fingers

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-09-04T00:57:27.000+0000
Affected Version/sRelease 2.1.0, Release 2.1.1
Fix Version/sSprint 2012-17 API, Release 2.1.2, Release 3.0.0
ComponentsAndroid
Labelsapi, module_scrollview, qe-review, qe-testadded, regression
ReporterFederico Casali
AssigneeHieu Pham
Created2012-08-15T12:23:19.000+0000
Updated2012-09-04T00:57:27.000+0000

Description

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

Attachments

FileDateSize
Android_threeFingersScroll_Crash.log2012-08-15T12:23:19.000+000012406

Comments

  1. Hieu Pham 2012-08-16

    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.
  2. Shyam Bhadauria 2012-08-16

    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
  3. Neha Chhabra 2012-09-04

    Reopening to update labels

JSON Source