Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14359] Android: First TableViewRow is cut off

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-10-02T23:48:38.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 20, 2013 Sprint 20 API, Release 3.2.0
ComponentsAndroid
Labelsmodule_tableviewrow, qe-testadded, regression
ReporterPing Wang
AssigneePing Wang
Created2013-06-25T00:05:41.000+0000
Updated2013-10-11T07:08:26.000+0000

Description

This does not happen on 3.1.1.GA. Steps to reproduce: 1. Run the code below. Should see a table and the all the rows are displayed correctly. 2. Click any row. Should see a heavyweight window opens. 3. Click the "back" button. Expected behavior: the table shows and all the rows are displayed. Actual behavior: the table shows but the first row is cut off. *NOTE*: This regression does not happen on 4.x device.
var tests = [
		{title:'Window: create (different parameters)**************************hello**************************hello**************************hello**************************hello**************************hello**************************hello', test:'create_test'},
		{title:'Window: open (different parameters)', test:'open_test'},
		{title:'Window: close (different parameters)', test:'close_test'},
		{title:'Window: change properties', test:'properties_test'}
];

var win = Ti.UI.createWindow({
	backgroundColor: 'white',
	//fullscreen: false
});

var tv = Ti.UI.createTableView({
	//top: 20,
	data: tests
});

tv.addEventListener("click", function(e) {
	if (e.rowData.test) {
		var win2 = Ti.UI.createWindow({fullscreen: false});
			
		win2.open();
	}
});

win.add(tv);
win.open();

Comments

  1. Ping Wang 2013-08-06

    This regression is in master (3.2.0) only. 3_1_X branch works fine. Removed the "merge-3.1.2" label.
  2. Ping Wang 2013-09-17

    PR: https://github.com/appcelerator/titanium_mobile/pull/4708 For FR: 1. Run the above test case. 2. Run TIMOB-12658.
  3. Hieu Pham 2013-10-02

    CR + FR
  4. Paras Mishra 2013-10-11

    First TableViewRow is not getting cut off. Verified Fix on: Device: Samsung Galaxy Note, Android version: 2.3.6 SDK: 3.2.0.v20131010163242 CLI version : 3.2.0 OS : MAC OSX 10.8.4 Alloy : 1.2.2 Appcelerator Studio, build: 3.2.0.201310092427 XCode : 5

JSON Source