{ "id": "102577", "key": "TIMOB-11241", "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": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-10-03T17:29:32.000+0000", "created": "2012-10-03T12:26:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios090112", "qe-ios6" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-27T22:30:50.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": "This is not a regression. It exists as far as 2.1.1.\r\nThis is an iOS 6 issue. It works fine on iPad iOS 5.1,iPHONE 3G S(iOS 5.0.1) and iPhone 4S(iOS 5.1) with xcode 4.5.\r\nIt also works on simulator iOS 5.1/xcode 4.4.1. But issue occurs on iOS 6 with xcode 4.5 and 4.4.1.\r\n\r\nIf the view is pinched in to a large size without label, it do not disappears.\r\n\r\nSteps to reproduce:\r\n1. Use the code below in app.js\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\t\t\r\n\t \twin.backgroundColor = '#fff';\r\n\t \r\n\t var baseHeight = 250;\r\n\t\tvar baseWidth = 250;\r\n\t\t \r\n\t\tvar view = Ti.UI.createView({\r\n\t\t height: baseHeight,\r\n\t\t width: baseWidth,\r\n\t\t backgroundColor: '#a00'\r\n\t\t});\r\n\t\t\r\n\t\tvar label = Ti.UI.createLabel({\r\n\t\t text: baseWidth + ' x ' + baseHeight,\r\n\t\t color: '#fff',\r\n\t\t font: {\r\n\t\t fontSize: 24,\r\n\t\t fontWeight: 'bold'\r\n\t\t }\r\n\t\t});\r\n\t\t\r\n\t\tview.add(label);\r\n\t\twin.add(view);\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 label.text = Math.round(view.width) + ' x ' + Math.round(view.height);\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\n\t\twin.open();\r\n{code}\r\n2. Launch the app and pinch in the view until it disappears\r\n\r\nExpected result:\r\n2. It should not disappear\r\n\r\nActual result:\r\n2. It disappears on pinching in to large size.", "attachment": [], "flagged": false, "summary": "iOS 6: View:Pinching in to a large size makes view to disappear (if it contains label in it).", "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": "Titanium SDK: 2.1.3.v20121002161610\r\nTitanium  Studio: 2.1.2.201208301612\r\nDevice : iPad iOS 6.0\r\nXcode : 4.5/4.4.1 \r\nMachine OS : MAC 10.8", "comment": { "comments": [ { "id": "221903", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "A dimension of 1.1 billion x 1.1 billion is really large. On the bright side we could work till 1 billion x 1 billion", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-03T17:29:32.000+0000", "updated": "2012-10-03T17:29:32.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }