{ "id": "93786", "key": "TIMOB-9785", "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": null, "resolutiondate": null, "created": "2012-06-25T04:22:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-and060112", "qe-nfc", "reprod" ], "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": null, "updated": "2018-02-28T20:03:54.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Feature not supported in 2.0.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\r\n3) Keep on pinching to zoom in the displayed red view.\r\n\r\nExpected result:\r\n3) After step 3, the view should get bigger in size and stop at some particular maximum size.\r\n\r\nActual result:\r\n3) After step 3, the view continues to get bigger in size but disappears completely once it reaches a certain high value(9999999*9999999).", "attachment": [], "flagged": false, "summary": "Android: View:Pinching in to a large size makes view to disappear", "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,Motorola Milestone Android 2.2.1,Android 2.2.2 LG-P970\r\nMachine OS - MAC 10.7.3", "comment": { "comments": [ { "id": "240137", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem can reproduce with release 3.0.2 and master release 3.1.0\n\nTitanium Studio, build: 2.1.2.201208301612\nTitanium SDK version: 3.1.0 (28/02/2013)\nTitanium SDK version: 3.0.2 (28/02/2013)\nDevice: Samsung galaxy s duos Android version: 4.0.4", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-28T11:33:39.000+0000", "updated": "2013-02-28T11:33:39.000+0000" }, { "id": "422965", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-27T18:26:32.000+0000", "updated": "2017-06-27T18:26:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }