GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-17T18:16:42.000+0000 |
Affected Version/s | Release 2.1.3, Release 2.1.4, Release 3.0.2, Release 3.1.0 |
Fix Version/s | 2013 Sprint 10 API, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | Android |
Labels | module_tableview, qe-closed-3.1.1, qe-testadded, regression |
Reporter | Milt Grinberg |
Assignee | Sunila |
Created | 2012-12-18T20:25:59.000+0000 |
Updated | 2014-01-30T20:53:38.000+0000 |
*Steps to reproduce*
1. Create a new Android mobile project
2. Run the test case
3. The title on the row which has a borderColor or borderWidth property does not show.
*Test case*
var win = Titanium.UI.createWindow({backgroundColor: "#FFF"});
var tableData = [{
title : 'Apples'
}, {
title : 'Bananas',
borderColor : 'blue',
borderWidth : 4,
}, {
title : 'Potatoes'
}];
var table = Ti.UI.createTableView({
data : tableData
});
win.add(table);
win.open();
Are you sure this worked with 2.1.4 GA? I tested it on 2.1.2 GA, 2.1.3 GA and 2.1.4 GA, 3.0.0 GA and latest 3.1 master and it doesn't work on any of them. That's with the 2.3.X Android emulator. Can you please state the Android device/emulator and OS version you tested this on? Thanks.
Not quite sure why you need this additional information. It seems like a bug no matter where I thought it worked in the past. I am running this code on a Samsung Droid Charge running Android 2.3.6. But you seem to say that it fails on every version of the Titanium SDK. Can it be fixed?? I tested it and it works on my Samsung Charge with 2.1.1GA V8., also 2.1.2GA V8. It failed starting on 2.1.3GA V8 I added the borderWidth property so you can actually see the border I added some attachments showing the working screen and not working screen.
"I tested it and it works on my Samsung Charge with 2.1.1GA V8., also 2.1.2GA V8. It failed starting on 2.1.3GA V8" The confusion was that you said it works with 2.1.4 GA, I wanted to know which device you were able to get it running on 2.1.4 with. But now you say it only works on 2.1.1 and 2.1.2? Anyway, it's enough information for me to escalate it to engineering now. Thanks.
Tested again and I can confirm that it works on 2.1.2 GA, but not from 2.1.3 GA onwards.
Use getOuterView to get the outermost view (which will return the border) instead of getNativeView. https://github.com/appcelerator/titanium_mobile/pull/4236
3_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/4294
Verified fixed with: Mac OS 10.8.3 Safari: 6.0.4 Xcode 4.6.2 CLI: 3.1.1-alpha Alloy: 1.1.3-alpha Appcelerator Studio, build: 3.1.1.201305271814 Titanium SDK version 3.1.1.v20130524180421 On: Nexus 4 4.2.1 Nexus 10 4.2 Galaxy S II 2.3.6