{ "id": "105494", "key": "TIMOB-11852", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2012-11-26T11:50:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios100112", "reprod" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "23098", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "105495", "key": "TIMOB-11853", "fields": { "summary": "iOS: ActivityIndicator - Button click to change activity indicator message shifts the activity indicator and message to the left.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:10.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": " Button click to change activity indicator message shifts the activity indicator and message to the left such that activity indicator is not visible and message gets truncated.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the app. You'll see the activity indicator with a message.\r\n3. Click the button 'text message2'.\r\n\r\nExpected:\r\nThe message should get change but should be fully visible along with the activity indicator.\r\n\r\nActual\r\nThe activity indicator and message gets shifted to the left such that activity indicator is not visible and message gets truncated.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'red',\r\n fullscreen:true\r\n\t\t \r\n});\r\n\r\nvar activityIndicator = Ti.UI.createActivityIndicator({\r\n\t\t color : 'green',\r\n\t\t font : {\r\n\t\t fontFamily : 'Helvetica Neue',\r\n\t\t fontSize : 26,\r\n\t\t fontWeight : 'bold'\r\n\t\t },\r\n\t\t message : 'Loading...',\r\n\t\t top : 0,\r\n\t\t left : 0,\r\n\t\t height: Ti.UI.SIZE,\r\n\t\t width: Ti.UI.SIZE\r\n\t\t});\r\n\t\t\r\nvar b2_2 = Ti.UI.createButton({\r\n\t\t title : \"text message 2\",\r\n\t\t top : 100,\r\n\t\t left : 10,\r\n\t\t width : 100,\r\n\t\t height : 70\r\n\t\t});\r\n\t\tb2_2.addEventListener(\"click\", function() {\r\n\t\t Ti.API.info(\"*********************** activityIndicator.message = \" + activityIndicator.message);\r\n\t\t activityIndicator.message = 'Continue loading ...';\r\n\t\t Ti.API.info(\"*********************** activityIndicator.message = \" + activityIndicator.message);\r\n\t\t});\r\n\t\t\r\n\t\twin1.add(activityIndicator);\r\n\t\tactivityIndicator.show();\r\n\t\t\r\nwin1.add(b2_2);\r\nwin1.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ActivityIndicator - Button click to change activity indicator message shifts the activity indicator and message to the left.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.0.v20121121161553\r\nStudio: 3.0.0.201211202053\r\nOS:OSX 10.8\r\nDevice: iPhone4s(v 5.1), iPad3(v 6.0)", "comment": { "comments": [ { "id": "244088", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:24:18.000+0000", "updated": "2013-03-26T08:24:18.000+0000" }, { "id": "420398", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have been able to reproduce this issue with the following environment; \r\niPhone 7 (10.2) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.9.0.201705021158 \r\nTi SDK 6.1.0.v20170519131839 \r\nAppc NPM 4.2.9 \r\nAppc CLI 6.2.1 \r\nTi CLI 5.0.13 \r\nAlloy 1.9.11 \r\nArrow 2.0.0 \r\nXcode 8.2 (8C38) \r\nNode v4.8.2 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-24T22:37:09.000+0000", "updated": "2017-05-24T22:37:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }