{ "id": "93785", "key": "TIMOB-9784", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-27T21:09:03.000+0000", "created": "2012-06-25T04:16:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and060112", "qe-nfc" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-27T21:09:03.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Feature not supported in 2.0.2.\r\nBelow code works as expected on Android 2.2\r\n\r\nSteps to reproduce:\r\n1) Use the code below\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\nwin.backgroundColor = '#fff';\r\n\t\t \r\n\t\tvar view = Ti.UI.createView({\r\n\t\t height: 250,\r\n\t\t width: 250,\r\n\t\t backgroundColor: '#a00'\r\n\t\t});\r\n\t\t \r\n\t\tview.addEventListener('pinch', function(e) {\r\n\t\t view.height = baseHeight * e.scale;\r\n\t\t view.width = baseWidth * e.scale;\r\n\t\t});\r\n\t\t\r\n\t\tview.addEventListener('touchstart', function(e) { \r\n\t\t baseHeight = view.height;\r\n\t\t baseWidth = view.width;\r\n\t\t});\r\n\t\t \r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n2) Run the app in portrait mode\r\n3) Pinch to zoom in the displayed red view.\r\n4) Rotate the device to landscape mode.\r\n5) Pinch to zoom in once and then pinch to zoom out the red view.\r\nExpected result:\r\n3) After step 3, the view should get bigger in size.\r\n5) After step 5, the view should get bigger on zoom in and smaller on zoom out.\r\nActual result:\r\n3) After step 3, the view gets bigger in size.\r\n5) After step 5, the view gets bigger on zoom in but do not gets smaller on zoom out. \r\n\r\nIf the device is rotated to portrait mode now, the zoom out effect appears on view. ", "attachment": [], "flagged": false, "summary": "Android: View:Pinching stops showing zooming in when device is rotated from portrait to landscape", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120622174154\r\nTested with Titanium  Studio: 2.1.0.201206221045\r\nDevice - Samsung Galaxy Nexus Android 4.0.2,Samung GALAXY Tab 620 Android 3.2\r\nMachine OS - MAC 10.7.3", "comment": { "comments": [ { "id": "239616", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug is reproducible in both sdk versions 3.0.2, 3.1.0. In landscape mode zoom out does not display the result, but if we rotated the device into portrait mode we will able to see the result.", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-25T06:52:47.000+0000", "updated": "2013-02-25T06:52:47.000+0000" }, { "id": "424989", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-27T21:09:03.000+0000", "updated": "2017-07-27T21:09:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }