{ "id": "118243", "key": "TIMOB-14887", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-19T06:28:33.000+0000", "created": "2013-08-10T09:18:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "backgroundColor", "hasCheck", "hasChild", "hasDetail", "qe-automatedtest", "tableviewrow" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-09T17:21:13.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": "*Problem*\r\nWhen the hasCheck, hasChild or hasDetail properties are set to true on a TableViewRow, the selection fade effect no longer occurs.\r\n\r\n*Steps to reproduce*\r\n1. Run the test case on the iOS simulator\r\n2. Select the rows and see that the select color suddenly appears with no fade effect\r\n3. Comment out the click event listener\r\n4. Run again, select the rows, and see that there is a fade effect\r\n\r\n*Test case*\r\n{code:javascript} \r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar data = [{\r\n\ttitle : 'Adrian'\r\n}, {\r\n\ttitle : 'Andrew'\r\n}, {\r\n\ttitle : 'Barry'\r\n}, {\r\n\ttitle : 'Betty'\r\n}];\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\tstyle : Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n\tdata : data\r\n});\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n\r\ntableView.addEventListener(\"click\", function(e) {\r\n\tfor (var i = 0; i < tableView.data[0].rowCount; i++)\r\n\t\ttableView.data[0].rows[i].hasCheck = false;\r\n\r\n\te.rowData.hasCheck = true;\r\n\t//hasDetail, hasChild...\r\n});\r\n\r\n// And try to click on some row without tableView click listener...\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TableViewRow hasCheck, hasChild and hasDetail properties prevent selection fading", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Macbook Pro, OSX 10.7.5, iOS Simulator v. 6.0 (369.2). Ti: 3.1.1 GA", "comment": { "comments": [ { "id": "266594", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T00:29:58.000+0000", "updated": "2013-08-15T00:29:58.000+0000" }, { "id": "324665", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue exist with 3.1.1 but can't reproduce on 3.4.0 \r\nAppcelerator Studio, build: 3.3.0.201407111535 \r\nTiSDK 3.4.0 \r\niOS : 6.0 \r\nTitanium Command-Line Interface, CLI version 3.3.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T06:28:33.000+0000", "updated": "2014-09-19T06:28:33.000+0000" }, { "id": "324745", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the fix using the following environment\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409161950\r\nTitanium SDK, build: 3.4.0.v20140918202513\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc4\r\ntitanium-code-processor@1.1.1\r\nXcode6.0.1 (6A317)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T17:06:23.000+0000", "updated": "2014-09-19T17:06:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }