{ "id": "92935", "key": "TIMOB-9438", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-07T12:57:58.000+0000", "created": "2012-06-07T03:57:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-17T10:13:38.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": "Image disappears when its Zooming factor value is set to zero or less\r\n\r\nThis is not a regression.It even happens on 2.0.2\r\n\r\nSteps to reproduce:\r\n\r\n1. Run the below sample code on device.\r\n2. Pinch and Zoom the Picture\r\n\r\nSample code 1\r\n\r\n{code}\r\nvar _window=Ti.UI.createWindow ({\r\n\t\tbackgroundColor : 'black'\r\n\t\t})\t\r\n\t\tvar photosView = Ti.UI.createScrollableView({\r\n\t\t backgroundColor:'black',\r\n\t\t width : 320,\r\n\t\t height : 450,\r\n\t\t showPagingControl:true,\r\n\t\t pagingControlHeight:20,\r\n\t\t});\r\n\t\t\r\n\t\tvar imgArray = [];\r\n\t\tvar img1 = Ti.UI.createImageView({\r\n\t\t image:'http://media.koreus.com/200606/1image-illusion-optique14-mini.jpg'\r\n\t\t});\r\n\t\tvar imgWrapper = Ti.UI.createScrollView({\r\n\t\t\tmaxZoomScale:0.0,\r\n\t\t\r\n\t\t});\r\n\t\timgWrapper.add(img1);\r\n\t\t\r\n\t\timgArray.push(imgWrapper);\r\n\t\tphotosView.views = imgArray;\r\n\t\tphotosView.views = imgArray;\r\n\t\t_window.add(photosView);\r\n\t\t\r\n\t_window.open();\r\n\r\n{code}\r\n\r\n\r\nExpected Result:\r\nShould be able to zoom and pinch the picture without any errors\r\n\r\nActual Result:\r\nImage disappears.", "attachment": [], "flagged": false, "summary": "iOS: ScrollView-Image disappers when Zooming factor is set Zero or less", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120606165259\r\nTested with Titanium  Studio: 2.1.0.201206051612\r\nPlatform & version: iPhone 4S (5.1)\r\nHost Operating System: OSX 10.7.3", "comment": { "comments": [ { "id": "197745", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Setting a zoomScale of 0 will make all content disappear. It is not a bug.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T12:57:58.000+0000", "updated": "2012-06-07T12:57:58.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }