Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6139] Android: View: v8/rhino, cannot set the borderColor on a view, it is setting the entire view to the same color

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-12-10T18:56:47.000+0000
Affected Version/sRelease 1.8.0.1, Release 2.1.0
Fix Version/s2012 Sprint 25, 2012 Sprint 25 API
ComponentsAndroid
Labelsapi, module_view, qe-testadded
ReporterNatalie Huynh
AssigneePing Wang
Created2011-11-09T16:01:55.000+0000
Updated2017-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

Comments

  1. Josh Roesslein 2012-03-02

    This should get resolved when the fix for TIMOB-684 lands.
  2. Josh Roesslein 2012-07-12

    TIMOB-9469 fix should resolve this issue.
  3. Satyam Sekhri 2012-07-16

    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
  4. Anshu Mittal 2012-08-01

    Reopening to update labels
  5. Olga Romero 2012-08-10

    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
  6. Ping Wang 2012-12-03

    Cannot reproduce on 2.3 device. Will test it on 4.0 device.
  7. Ping Wang 2012-12-10

    Cannot reproduce on Galaxy Nexus 4.0.4 and HTC Sensation 4G 2.3.4 using latest master and 3_0_X branch.
  8. Bitfabrikken - Dan Wulff Kronholm 2013-03-13

    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.
  9. Lee Morris 2017-03-30

    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

JSON Source