{ "id": "82489", "key": "TIMOB-6082", "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": "12087", "description": "", "name": "Sprint 2011-47", "archived": true, "released": true, "releaseDate": "2011-11-28" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-05T17:31:55.000+0000", "created": "2011-11-08T11:06:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableviewrow", "qe-testadded", "regression" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "14044", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "83237", "key": "TIMOB-6384", "fields": { "summary": "iOS: Table View: Clicking the button in the row causes the content to disappear", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-01-05T17:31:55.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3.Problem\r\nActivityIndicator need to be added to the tableview row. Using the sequence hide() and show() makes the indicator to disappear.\r\n\r\nh3.Regression - work correctly with 1.7.5\r\n\r\nh3.Reproducible Steps\r\n1. Run the sample code and wait\r\n\r\nh3.Sample Code\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\n win.open();\r\n\r\n var row = Ti.UI.createTableViewRow({\r\n header: 'Test',\r\n title: 'Testing',\r\n color: '#808080',\r\n selectionStyle: 'none',\r\n hasChild: false\r\n });\r\n\r\n var spinner = Ti.UI.createActivityIndicator({\r\n right: 15,\r\n height: 50,\r\n width: 10,\r\n style: Ti.UI.iPhone.ActivityIndicatorStyle.DARK\r\n });\r\n\r\n spinner.show();\r\n row.add(spinner);\r\n\r\n var tableviewData = [row];\r\n\r\n var tableview = Ti.UI.createTableView({\r\n data: tableviewData\r\n });\r\n\r\n win.add(tableview);\r\n\r\n setTimeout(function() {\r\n spinner.hide();\r\n Ti.API.info('Spinner disappears...');\r\n setTimeout(function() {\r\n \r\n spinner.show();\r\n Ti.API.info('And won\\'t come back!');\r\n }, 1000);\r\n }, 3000);\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-336112", "attachment": [], "flagged": false, "summary": "iOS: ActivityIndicator disappears while inside the table row", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Simulator, iOS5, SDK 1.8.0.v20111106143455\r\nREGRESSION: works with SDK 1.7.5", "comment": { "comments": [ { "id": "173380", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Git bisect (correctly) identifies the bad commit as {{d9e18a0b7fdfe13d98c6ea56c48e1810d494ee41}}. That's from way back in the 1.7.0-1.7.3 timeline, so not sure why it was tagged as working with 1.7.5.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T18:09:39.000+0000", "updated": "2011-11-18T18:21:49.000+0000" }, { "id": "175219", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112061404\r\n
Ti Mob SDK 1.8.0.1.v20111207091653\r\n
OSX Lion\r\niPhone 4S OS 5.0.1\r\n\r\nExpected behavior of activity indicator disappearing then reappearing is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T14:11:00.000+0000", "updated": "2011-12-07T14:11:00.000+0000" }, { "id": "175278", "author": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The behaviour of this doesn't appear to have changed.", "updateAuthor": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T16:33:03.000+0000", "updated": "2011-12-07T16:33:03.000+0000" }, { "id": "175281", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is fixed in 1.8.0.1, not in 1.7.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T16:39:40.000+0000", "updated": "2011-12-07T16:39:40.000+0000" }, { "id": "175551", "author": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am still seeing this problem in the latest builds. The spinner appears once, then disappears after the table view data has been reset.", "updateAuthor": { "name": "jeevan", "key": "jeevan", "displayName": "Jeevan Takhar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T10:43:36.000+0000", "updated": "2011-12-09T10:43:36.000+0000" }, { "id": "178279", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened to edit tags", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T17:01:12.000+0000", "updated": "2012-01-05T17:01:12.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }