{ "id": "99600", "key": "TIMOB-10551", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-27T08:43:28.000+0000", "created": "2012-08-22T06:11:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios082012" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:46:12.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": "The view is shown distorted (like being cut diagonally) during orientation change when the when the view is pinched to a large size. As the size of the the view increases the distortion during orientation change also increases.\r\n\r\nThis is not a regression. The issue occurs atleast as far as 2.0.1\r\n\r\nSteps to Reproduce:\r\n1. Create an application with the code below and launch the application\r\n2. Pinch on the red view to increase the size. Increase the size till height and width of the view are in 8 digits (this is when the issue starts getting visible)\r\n3. Change the orientation of the device\r\n\r\nActual: While change in orientation a the view is shown distorted with a diagonal line cutting the view. As the size of the view is further increased the view gets more distorted.\r\n\r\nExpected: The view should be smooth with no distortion on orientation change.\r\n\r\n{code}\r\n var 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 win.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: View: View shown distorted on orientation change when pinched to a large size", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.2.201208192014\r\nTitanium SDK: 2.1.2.v20120816171609\r\nDevice: iPad2 (v5.1)", "comment": { "comments": [ { "id": "244259", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 6.0\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:43:28.000+0000", "updated": "2013-03-27T08:43:28.000+0000" }, { "id": "258950", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces\n\nTested with\n\niOS SDK: 5.1\niOS iPhone Simulator: 5.1\nMac OS X Version 10.7.5\nTitanium SDK version 3.1.1.v20130606121419\nTitanium Studio, build: 3.0.1.201212181159", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T07:07:37.000+0000", "updated": "2013-06-21T07:07:37.000+0000" }, { "id": "413595", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:46:12.000+0000", "updated": "2017-03-17T18:46:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }