{ "id": "83615", "key": "TIMOB-6580", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-02-10T00:19:19.000+0000", "created": "2011-12-12T14:42:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14203", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "83763", "key": "TIMOB-6644", "fields": { "summary": "iOS: Button - setting backgroundImage causes the button not provide visual feedback when it is clicked", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-10T00:19:19.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\nBackgroundSelectedImage does not work on Button component.\r\n\r\nh3.REGRESSION! - works fine with SDK 1.7.5\r\n\r\nh3.Steps\r\n1. Run the code from above\r\n2. Click the button\r\n\r\nh3.Sample Code\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\n\r\nvar button = Ti.UI.createButton({\r\n\tbackgroundImage: 'call.png',\r\n\tbackgroundSelectedImage: 'settings.png',\r\n\tcolor: '#fff',\r\n\t height: 30, width: 100, top: 45, left: 5, \r\n});\r\n\r\n\r\n\r\nwin1.add(button);\r\nwin1.open();\r\n\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: backgroundSelectedImage does not work on Button component", "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": "iOS 5.0.1, Simulator, SDK 1.8.0.1.v20111212124623", "comment": { "comments": [ { "id": "175979", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any fixes for this issue (or for TIMOB-6644) should be checked to see if they resolve the other.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-13T14:17:40.000+0000", "updated": "2011-12-13T14:17:40.000+0000" }, { "id": "178722", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reproduced with 1.8.0.1 and 1.9.0 releases, but not on master branch. Probably needs back-porting.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T11:27:50.000+0000", "updated": "2012-01-10T11:27:50.000+0000" }, { "id": "178729", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified to be fixed by TIMOB-6644", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T11:51:50.000+0000", "updated": "2012-01-10T11:51:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }