{ "id": "92347", "key": "TIMOB-9260", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": null, "resolutiondate": null, "created": "2012-05-24T14:08:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "iOS7", "module_imageview", "qe-testadded" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [ { "id": "17722", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "93002", "key": "TIMOB-9469", "fields": { "summary": "Android: TiUIView does not clip children", "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": "27240", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "111832", "key": "TIMOB-13243", "fields": { "summary": "iOS: ImageView - Image changes its position on the screen if orientation is changed", "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": null, "updated": "2018-02-28T20:03:37.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Problem\r\n\r\nWhen zoom/pinching the image on editing part after taking picture, the image position itself to the upper left corner part of the scrollable view.\r\n\r\nh3. Sample Code\r\n\r\nPlease run the attached sample project.\r\n\r\nThe image does not position to the center when zooming in. \r\n\r\nh3. Steps to reproduce\r\n\r\n1. Run the app on device\r\n\r\n2. Choose the option to select photo from library.\r\n\r\n3. Select any image and try to pinch it.\r\n\r\n4. The image always shifts towards top left on every pinch/zoom\r\n\r\nThis video also shows how to reproduce the issue: http://youtu.be/_EOC6Amp3fQ", "attachment": [ { "id": "27911", "filename": "Archive.zip", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-24T14:08:33.000+0000", "size": 5026513, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Image positions to the top/left corner after zooming/pinching", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Platform OS: iOS \r\nTitanium SDK: 1.8.2, Release 2.0", "comment": { "comments": [ { "id": "197894", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reduced test case:\r\n{code}\r\nvar win = Ti.UI.createWindow({ fullscreen: true, backgroundColor: 'white'});\r\n \r\n\tvar view = Ti.UI.createScrollView({\r\n\t\tbackgroundColor:'#000',\r\n\t\tborderRadius:150,\r\n\t\theight:300,\r\n\t\twidth:300,\r\n\t\tcontentHeight:'auto',\r\n\t\tcontentWidth:'auto',\r\n\t\tminZoomScale:0.05,\r\n\t\tmaxZoomScale:3.0,\r\n\t\tzoomScle:1.0\r\n\t});\r\n\t\r\n\tvar image = Ti.UI.createImageView({\r\n\t\timage:'beach.jpg',\r\n\t\theight:'auto',\r\n\t\twidth:'auto'\r\n\t});\r\n\tview.add(image);\r\n\twin.add(view);\r\n win.open();\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T11:43:30.000+0000", "updated": "2012-06-08T11:43:30.000+0000" }, { "id": "197931", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending https://github.com/appcelerator/titanium_mobile/pull/2363", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T16:12:25.000+0000", "updated": "2012-06-08T16:12:25.000+0000" }, { "id": "198775", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-15T14:58:34.000+0000", "updated": "2012-06-15T14:58:34.000+0000" }, { "id": "199019", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206172244\r\nTi Mobile SDK2.1.0.v20120618134156 hash r00905cd0\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-18T17:20:40.000+0000", "updated": "2012-06-18T17:20:40.000+0000" }, { "id": "294909", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue is reproducible on iOS7 device only during the zooming of the image.\r\n\r\nEnvironment used:\r\nDevice : iPod touch 2 , iOS version: 7.1\r\nSDK: 3.2.2.v20140221161255\r\nCLI version : 3.2.1\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.1\r\nACS: 1.0.12\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\ntitanium-code-processor: 1.1.0\r\nXCode : 5.1 Beta 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-27T10:29:43.000+0000", "updated": "2014-02-27T10:29:43.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }