{ "id": "86501", "key": "TIMOB-7659", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-03-05T11:32:51.000+0000", "created": "2012-02-15T00:37:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:39:49.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": "The backgroundSelectedImage property doesn't scale in iPod 2nd gen. You can only see a cropped image. The image scales fine in iPod 3rd gen.\r\nh4. Repro Steps\r\n1. Run the below code.\r\n2. In iPod 2nd gen the images will not scale\r\n{code}\r\nvar win=Ti.UI.createWindow({ \r\nbackgroundColor: 'white' \r\n});\r\n\r\nvar button = Titanium.UI.createButton({ backgroundImage:'appsS.png', backgroundSelectedImage:'appsP.png', top: Titanium.Platform.displayCaps.platformHeight*0.5, width: Titanium.Platform.displayCaps.platformHeight * 0.13, height: Titanium.Platform.displayCaps.platformHeight * 0.16 });\r\n\r\nbutton.addEventListener('click',function(e){ \r\nTitanium.API.info(\"You clicked the button\"); \r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "25769", "filename": "appsP.png", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-15T00:37:13.000+0000", "size": 108287, "mimeType": "image/png" }, { "id": "25947", "filename": "appsS.png", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-29T13:36:56.000+0000", "size": 98662, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: backgroundSelectedImage does not scale in iPod 2nd gen", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 1.7.5, 1.8.0.1\r\niOS 11Version: 4.3\r\niPod 2nd gen", "comment": { "comments": [ { "id": "185042", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce on iPhone 3GS (4.3) with 1.7.5, 1.8.2 or master branch (2.0.0).\r\nOn 1.8.0.1 the background image is never shown due to other bug.\r\n\r\nNikhil, could you please retest the issue with the recent 1.8.2 release to see if it's still there. Thanks!", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-05T11:14:03.000+0000", "updated": "2012-03-05T11:14:03.000+0000" }, { "id": "185048", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Max -\r\n\r\nThis bug specifically mentions it affects iPod 2nd gen touch only. All testing should be done on this device, although we very likely do not have one available.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-05T11:41:03.000+0000", "updated": "2012-03-05T11:41:18.000+0000" }, { "id": "410809", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:39:49.000+0000", "updated": "2017-03-09T22:39:49.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }