{ "id": "106181", "key": "TIMOB-12008", "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": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14699", "description": "2012 Sprint 25 Core", "name": "2012 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-12-11T18:14:01.000+0000", "created": "2012-12-07T23:37:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "defect", "ios", "iphone", "regression", "triage" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-13T15:00:57.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.Repro steps\r\nExample code:\r\n{code}\r\n/**\r\n * Get table rows\r\n */\r\nvar getTableRows = function() {\r\n\tvar rows = [];\r\n\t\r\n\trows.push(Ti.UI.createTableViewRow({\r\n\t\ttitle : 'Item 1'\r\n\t}));\r\n\trows.push(Ti.UI.createTableViewRow({\r\n\t\ttitle : 'Item 2'\r\n\t}));\r\n\trows.push(Ti.UI.createTableViewRow({\r\n\t\ttitle : 'Item 3'\r\n\t}));\r\n\t\r\n\treturn rows;\r\n};\r\n\r\n// construct window\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'Test',\r\n\tbackgroundImage : '/image.png'\r\n});\r\n\r\n// containing table\r\nvar table = Ti.UI.createTableView({\r\n\tstyle : Ti.UI.iPhone.TableViewStyle.GROUPED\r\n});\r\n\r\n// some data\r\ntable.data = getTableRows();\r\nwin.add(table);\r\n\r\n// show the window\r\nwin.open();\r\n{code}\r\n\r\nh5. Behaviour on 2.1.3 SDK\r\nTableView is grouped and background image displayed.\r\n\r\n[^TableView SDK_213.png]\r\n\r\nh5. Behaviour on 2.1.4 SDK (broken)\r\nTableView is grouped and background image ignored. Instead, the standard iOS pinstripe pattern is shown.\r\n\r\n[^TableView SDK_214.png]\r\n\r\nh3. Expected behaviour\r\nAs per 2.1.3 SDK.\r\n\r\nh3.Community thread\r\nhttp://developer.appcelerator.com/question/144761/sdk-214-backgroundimage-not-working-in-grouped-table-views#251163", "attachment": [ { "id": "34026", "filename": "image.png", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-08T00:41:48.000+0000", "size": 256098, "mimeType": "image/png" }, { "id": "34028", "filename": "TableViewBug.zip", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-08T00:55:33.000+0000", "size": 2406135, "mimeType": "application/zip" }, { "id": "34024", "filename": "TableView SDK_213.png", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-07T23:56:04.000+0000", "size": 59948, "mimeType": "image/png" }, { "id": "34025", "filename": "TableView SDK_214.png", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-07T23:56:04.000+0000", "size": 46231, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Window backgroundImage ignored in grouped TableView", "creator": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "environment": "-iOS 6.0 (simulator)\r\n-Mac OSX 10.8.2\r\n-Titanium Mobile SDK 2.1.4.GA & 3.0.0 RC2\r\n-Titanium Studio 2.1.2.201208301612", "comment": { "comments": [ { "id": "230514", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Pete Comish Can you please attach background \"image.png\" used and an actual runnable sample? Just need the _table.data = getTableRows();_ method that populates table data to replicate what you are seeing.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-08T00:16:11.000+0000", "updated": "2012-12-08T00:16:11.000+0000" }, { "id": "230536", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "body": "Sure thing; here you go: [^image.png]", "updateAuthor": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-08T00:41:48.000+0000", "updated": "2012-12-08T00:41:48.000+0000" }, { "id": "230539", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "body": "Code in description updated with full example, including {{getTableRows}} method.", "updateAuthor": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-08T00:52:17.000+0000", "updated": "2012-12-08T00:52:17.000+0000" }, { "id": "230542", "author": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "body": "Full project attached. Just switch the SDK in {{tiapp.xml}} between 2.1.3 and 2.1.4 to see the issue.\r\n\r\nHope this helps.", "updateAuthor": { "name": "outofcoffee", "key": "outofcoffee", "displayName": "Pete Cornish", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-08T00:55:33.000+0000", "updated": "2012-12-08T00:55:33.000+0000" }, { "id": "230566", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Thanks Pete, it's been moved to TiMobile project to dig into it.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-08T18:29:51.000+0000", "updated": "2012-12-08T18:29:51.000+0000" }, { "id": "230865", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since background image is set on window, table background color should be set to 'transparent'\r\n-or-\r\nbackground image should be set on table", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T18:14:01.000+0000", "updated": "2012-12-11T18:14:01.000+0000" }, { "id": "233804", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing based on Max's comment.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-10T10:06:17.000+0000", "updated": "2013-01-10T10:06:17.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }