Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8291] iOS: Progress Bar - If value property is not initially set, then the progress bar's message will not be displayed

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T21:46:01.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsparity, qe-ios031912, reprod
ReporterWilson Luu
AssigneeUnknown
Created2012-03-25T09:31:29.000+0000
Updated2020-01-09T21:46:01.000+0000

Description

Steps to reproduce: 1. Run the following code on iOS:
var win = Ti.UI.createWindow({
	backgroundColor:'white'
});

var pb=Titanium.UI.createProgressBar({
  	top:10,
    min:0,
    max:10,
   // value:0,
    color:'#fff',
    message:'Downloading 0 of 10',
    font:{fontSize:14, fontWeight:'bold'},
    style:Titanium.UI.iPhone.ProgressBarStyle.PLAIN,
});


win.add(pb);
pb.show();

var val = 1
setInterval(function() {
	
	pb.value = val;	
	val++;

},1000);

win.open();

Actual: The message value does not appear. See attachments. Expected: The message value should appear similarly to Android.

Attachments

FileDateSize
android.png2012-03-25T09:31:29.000+000028343
ios.png2012-03-25T09:31:29.000+000014610

Comments

  1. jithinpv 2013-04-04

    Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
  2. Lee Morris 2017-06-20

    I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
  3. Alan Hutton 2020-01-09

    This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source