Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11593] Android: button border visible when button is set to invisible

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-11-21T19:47:00.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 24, 2012 Sprint 24 API
ComponentsAndroid
Labelsmodule_button, qe-testadded, regression, triage
ReporterDavide Cassenti
AssigneePing Wang
Created2012-10-29T11:37:02.000+0000
Updated2013-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();

Comments

  1. Ingo Muschenetz 2012-11-13

    Davide--the best I can suggest is 3.0.1 at the moment unless it is marked as a regression.
  2. Davide Cassenti 2012-11-13

    Bug is regression: tested in 2.1.2, 2.1.1 and 2.1.0 and the problem is not visible.
  3. Ping Wang 2012-11-15

    This is a duplicate of TC-1427 which has been resolved against the master (3.1.0).
  4. Ping Wang 2012-11-20

    master PR: https://github.com/appcelerator/titanium_mobile/pull/3310 3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3450
  5. Tamila Smolich 2012-12-04

    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)

JSON Source