[TIMOB-14359] Android: First TableViewRow is cut off
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-02T23:48:38.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 20, 2013 Sprint 20 API, Release 3.2.0 |
Components | Android |
Labels | module_tableviewrow, qe-testadded, regression |
Reporter | Ping Wang |
Assignee | Ping Wang |
Created | 2013-06-25T00:05:41.000+0000 |
Updated | 2013-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();
This regression is in master (3.2.0) only. 3_1_X branch works fine. Removed the "merge-3.1.2" label.
PR: https://github.com/appcelerator/titanium_mobile/pull/4708 For FR: 1. Run the above test case. 2. Run TIMOB-12658.
CR + FR
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