{ "id": "120014", "key": "TIMOB-15207", "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": [ { "id": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-17T19:47:50.000+0000", "created": "2013-09-16T22:40:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_activityindicator", "qe-testadded", "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "31922", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "93326", "key": "TIMOB-9572", "fields": { "summary": "Android: Views: The visible property of a view is undefined by default", "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": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:43.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Our doc says that \"Note that, unlike most views, the activity indicator is hidden by default and must be shown explicitly.\"\r\nTo reproduce, run the test case below:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tfullscreen: false,\r\n\tbackgroundColor: 'yellow'\r\n});\r\n\r\nvar actInd = Ti.UI.createActivityIndicator({style:Ti.UI.ActivityIndicatorStyle.BIG});\r\n\r\nwin.add(actInd);\r\n\r\nvar b = Ti.UI.createButton({\r\n\ttop: 10,\r\n\ttitle: \"show activity indicator\"\r\n});\r\n\r\nb.addEventListener(\"click\", function(){\r\n\tactInd.show();\r\n});\r\n\r\nwin.add(b);\r\n\r\nvar b2 = Ti.UI.createButton({\r\n\ttop: 120,\r\n\ttitle: \"hide activity indicator\"\r\n});\r\n\r\nb2.addEventListener(\"click\", function(){\r\n\tactInd.hide();\r\n});\r\n\r\nwin.add(b2);\r\n\r\nwin.open();\r\n{code}\r\n\r\nExpected behavior: when the app launches, the activity indicator should not show.\r\nActual behavior: when the app launches, the activity indicator shows.\r\n\r\nThis issue does not happen on 3.1.2.GA or 3.1.3.", "attachment": [], "flagged": false, "summary": "Android: ActivityIndicator shows when it is added to the window", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "271417", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a regression caused by TIMOB-9572.\nPR: https://github.com/appcelerator/titanium_mobile/pull/4700", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-17T00:15:24.000+0000", "updated": "2013-09-17T00:15:24.000+0000" }, { "id": "274568", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310092427\r\nSdk:3.2.0.v20131009134844\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),ipodTouch1(v7.0)\r\nXcode: 5\r\n\r\nActivity Indicator is shown on window on calling show().It does not appears by default.\r\nWorking according to documentation.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-10T08:30:52.000+0000", "updated": "2013-10-10T08:30:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }