Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25193] Android: Touches are not shown/intercepted if center of the tableViewRow are clicked

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-08-25T18:19:46.000+0000
Affected Version/sRelease 7.0.0, Release 6.2.0
Fix Version/sRelease 6.2.0
ComponentsAndroid
Labelsqe-6.2.0, regression
ReporterLokesh Choudhary
AssigneeYordan Banev
Created2017-08-24T18:36:43.000+0000
Updated2017-08-26T01:21:31.000+0000

Description

*This is a regression. Not seen with 6.1.2.GA*

Steps to reproduce:

1. Use the code below in your app.js:
var window = Ti.UI.createWindow();
var tableData = [];
for (var index = 1; index <= 20; index++) {
	var row = Ti.UI.createTableViewRow({});
	tableData.push(row);
}
var tableView = Ti.UI.createTableView({
	data: tableData,
	width: Ti.UI.FILL,
	height: Ti.UI.FILL,
});
window.add(tableView);
window.open();
2. Build the app for android device/emulator. 3. After the app launches click on any row.

Actual results:

1. Clicking on the center of the row does nothing. You will have to click near the top or the bottom of the row to see the click/touch.

Expected results:

1. Clicking on the center of the row shows click/touch.

Comments

  1. Joshua Quick 2017-08-24

    [~lchoudhary], [~ybanev], It sounds like fix for [TIMOB-11856] is what caused this regression.
  2. Lokesh Choudhary 2017-08-25

    This issue is fixed with these PR's: master: https://github.com/appcelerator/titanium_mobile/pull/9353 6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9354
  3. Lokesh Choudhary 2017-08-25

    FR passed for both master & backport.
  4. Lokesh Choudhary 2017-08-25

    PR's merged.
  5. Lokesh Choudhary 2017-08-26

    Verified the fix with SDK 6.2.0.v20170825165823 & 7.0.0.v20170825165854. Closing. Studio Ver: 4.9.1.201707200100 SDK Ver: 6.2.0.v20170825165823, 7.0.0.v20170825165854 OS Ver: 10.12.3 Xcode Ver: Xcode 8.3.3 Appc NPM: 4.2.9 Appc CLI: 6.2.3 Ti CLI Ver: 5.0.14 Alloy Ver: 1.9.13 Node Ver: 6.10.1 Java Ver: 1.8.0_101 Devices: ⇨ google Nexus 5 — Android 6.0.1 ⇨ google Pixel — Android 7.1.1

JSON Source