{ "id": "84460", "key": "TIMOB-6977", "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-02-10T00:03:44.000+0000", "created": "2012-01-04T12:42:07.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": "14614", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "85093", "key": "TIMOB-7281", "fields": { "summary": "APIDoc: Document coding pattern for providing pinch/zoom while in a ScrollableView", "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 } } } }, { "id": "14608", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "78048", "key": "TIMOB-4738", "fields": { "summary": "Remove scaling (pinch & zoom) from ScrollableView for parity with Android.", "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": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-10T00:03:44.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": "h4. PROBLEM\r\nZoom used to work inside a ScrollableView, with 1.7.5. The same code doesn't work (doesn't zoom) in 1.8. \r\n\r\nh4. TESTCASE \r\nTest this code in 1.7.5, do a zoom. Works fine. Do the same with 1.8, won't work. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'black'\r\n});\r\n var photosView = Ti.UI.createScrollableView({\r\n backgroundColor:'black',\r\n width : 320,\r\n height : 450,\r\n showPagingControl:true,\r\n pagingControlHeight:20,\r\n maxZoomScale : 2.0,\r\n});\r\nvar imgArray = [];\r\nvar img1 = Ti.UI.createImageView({\r\n image:'http://media.koreus.com/200606/1image-illusion-optique14-mini.jpg'\r\n});\r\nimgArray.push(img1);\r\nphotosView.views = imgArray;\r\nwin.add(photosView);\r\nwin.open();\r\n{code}\r\n\r\nh4. Community Discusion \r\nhttp://developer.appcelerator.com/question/130153/image-zoom-not-working-after-update-to-sdk-18", "attachment": [], "flagged": false, "summary": "iOS:ScrollableView Zoom in ScrollableView is not working in 1.8", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\nJavascript Engine: iOS\r\nPlatform & version: iOS 5.0\r\nDevice Details: iOS simulator \r\nHost Operating System: OSX 10.6.8 \r\nTitanium Studio version: 1.0.8.201112282257", "comment": { "comments": [ { "id": "179767", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The removal of having these extra scrollviews (What provide the pinch and zoom) was a design decision for 1) parity with Android and 2) performance. If the end developer wants pinch and zoom, they must ask for it explicitly by using a scrollview inside a scrollable view.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T13:32:20.000+0000", "updated": "2012-01-18T13:32:20.000+0000" }, { "id": "180188", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "as per Blain, this is now expected behavior. Closing.", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T11:09:22.000+0000", "updated": "2012-01-23T11:09:22.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }