{ "id": "81415", "key": "TIMOB-5803", "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": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-22T11:50:50.000+0000", "created": "2011-10-11T11:47:13.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "dr-heatmap-other", "module_button", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "15862", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88072", "key": "TIMOB-8054", "fields": { "summary": "NBC: Button interaction results in unexpected visual effect.", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-23T07:32:16.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": "When the image used by a button is larger than the size of the button, the image will correctly scale down to fit the button when the button is in the normal state. However, when the button is in the \"pressed\" state, the backgroundImage no longer scales correctly.\r\n\r\n{code}\r\nvar win = Titanium.UI.currentWindow;\r\nvar button = Titanium.UI.createButton({\r\n height:60,\r\n width:80,\r\n backgroundImage:'slightlylargerimage.png'\r\n});\r\nwin.add(button);\r\n{code}", "attachment": [ { "id": "23529", "filename": "clicked.png", "author": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-11T11:47:13.000+0000", "size": 4291, "mimeType": "image/png" }, { "id": "23530", "filename": "notclicked.png", "author": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-11T11:47:13.000+0000", "size": 6910, "mimeType": "image/png" }, { "id": "23534", "filename": "slightlylargerimage.png", "author": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-12T04:07:42.000+0000", "size": 1609, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Button background image does not scale correctly on click", "creator": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPhone 4.2, 4.3 (Simulator and device)\r\nTi SDK 1.7.2\r\nTitanium Studio, build: 1.0.0.201106101247\r\nMac OS X 10.6.8", "comment": { "comments": [ { "id": "168892", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Hi Shauna\r\n\r\nThank you for raising this ticket.\r\n\r\nIf you are able to provide all the information described in the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] guidelines, *in the correct fields and using the right format*, we will be able to raise it with the core team.\r\n\r\nThanks in advance.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-11T16:31:20.000+0000", "updated": "2011-10-11T16:31:20.000+0000" }, { "id": "168967", "author": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the link, Paul. I've updated my ticket accordingly.", "updateAuthor": { "name": "shauna", "key": "shauna", "displayName": "Shauna", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-12T04:10:47.000+0000", "updated": "2011-10-12T04:10:47.000+0000" }, { "id": "170386", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending #584", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-10-25T13:08:31.000+0000", "updated": "2011-10-25T13:08:31.000+0000" }, { "id": "170978", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed fix, tested both iOS & Android (for parity check). Most of the time was taken up getting an android setup working.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-31T16:37:28.000+0000", "updated": "2011-10-31T16:37:28.000+0000" }, { "id": "172599", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111114102656 on\r\niPad 2 (4.3.5)\r\niPod Touch (4.0.2)\r\niPhone 4s (5.0)\r\nXoom 3.2.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T14:47:26.000+0000", "updated": "2011-11-14T14:47:26.000+0000" }, { "id": "173760", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "open to add label", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-22T11:50:36.000+0000", "updated": "2011-11-22T11:50:36.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }