[TIMOB-6139] Android: View: v8/rhino, cannot set the borderColor on a view, it is setting the entire view to the same color
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-12-10T18:56:47.000+0000 |
Affected Version/s | Release 1.8.0.1, Release 2.1.0 |
Fix Version/s | 2012 Sprint 25, 2012 Sprint 25 API |
Components | Android |
Labels | api, module_view, qe-testadded |
Reporter | Natalie Huynh |
Assignee | Ping Wang |
Created | 2011-11-09T16:01:55.000+0000 |
Updated | 2017-03-30T22:16:05.000+0000 |
Description
Steps To Reproduce:
1. Compile the following code
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
var view = Ti.UI.createView({
height: 50,
width: 50,
borderColor: 'black',
borderWidth: 5
});
win.add(view);
win.open();
2. Run on Emulator or device
Actual Result:
Set the color to the whole view
Expected Result:
Should just display the border color
This should get resolved when the fix for TIMOB-684 lands.
TIMOB-9469 fix should resolve this issue.
Only view border set to the specified color. Verified On: Titanium Studio: 2.1.1.201207121732 Titanium SDK: 2.1.1.v20120712160111 Device: Emulator 2.2, 2.3.3
Reopening to update labels
Reopened as an original bug. Tested on: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.2.0.v20120810080115 Devices: Galaxy Nexus 4.0.4 HTC EVO 4.0.3 Note: Pass for an Emulator 2.2, 2.3.3
Cannot reproduce on 2.3 device. Will test it on 4.0 device.
Cannot reproduce on Galaxy Nexus 4.0.4 and HTC Sensation 4G 2.3.4 using latest master and 3_0_X branch.
Having this issue with Titanium 3.0.2 both on Android emulator (Intel Atom x86 2.3.3) and on real devices: Nexus 7 and Google Nexus phone - both running Jelly Bean 4.2.2. The issue also seems tied to another issue, where when you have a border on a view and a rotation matrix transformation, the rotation is not applied.
Closing ticket as I am unable to reproduce the issue using the following environment; Pixel (7.1) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.3 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80