[TIMOB-11593] Android: button border visible when button is set to invisible
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-11-21T19:47:00.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 24, 2012 Sprint 24 API |
| Components | Android |
| Labels | module_button, qe-testadded, regression, triage |
| Reporter | Davide Cassenti |
| Assignee | Ping Wang |
| Created | 2012-10-29T11:37:02.000+0000 |
| Updated | 2013-09-20T08:09:47.000+0000 |
Description
Problem description
When a button in Android is set to "visible: false", its border keeps being visible.Steps to reproduce
Use this code to see the issue:
var win1 = Titanium.UI.createWindow({
backgroundColor:"#000"
});
var button1 = Ti.UI.createButton({
title: "Invisible",
borderWidth:1,
visible:false,
borderColor:"white"
});
win1.add(button1);
win1.open();
Davide--the best I can suggest is 3.0.1 at the moment unless it is marked as a regression.
Bug is regression: tested in 2.1.2, 2.1.1 and 2.1.0 and the problem is not visible.
This is a duplicate of TC-1427 which has been resolved against the master (3.1.0).
master PR: https://github.com/appcelerator/titanium_mobile/pull/3310 3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3450
Closing as fixed. Border is not visible. Tested on: Titanium Studio, build: 3.0.0.201211301903 Titanium SDK, builds: 3.0.0.v20121130200208; 3.1.0.v20121203181001 Devices: Samsung Galaxy S III (4.0.4)