{ "id": "112561", "key": "TIMOB-13487", "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": "2013-06-18T01:38:14.000+0000", "created": "2013-04-08T23:35:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T18:29: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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create a default app for BB\r\n2. Replace the app.js code with the one below:\r\n{code}\r\nvar title = Ti.UI.createLabel({\r\n\ttext:'Image View',\r\n\tfont:{\r\n fontSize : 16,\r\n fontFamily : 'Helvetica Neue'\r\n },\r\n top:15,\r\n});\r\n\r\nvar but1 = Ti.UI.createButton({\r\n\ttitle:'Image View with BG img',\r\n\ttop:70,\r\n\tleft:Ti.UI.SIZE\r\n});\r\nvar but2 = Ti.UI.createButton({\r\n\ttitle:'Image view without BG img',\r\n\ttop:130,\r\n\tleft:Ti.UI.SIZE\r\n});\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'brown',\r\n\t\r\n});\r\n\r\nwin.orientationModes = [\r\n\t\tTitanium.UI.PORTRAIT,\r\n\t\t//Titanium.UI.UPSIDE_PORTRAIT,\r\n\t\tTitanium.UI.LANDSCAPE_LEFT,\r\n\t\tTitanium.UI.LANDSCAPE_RIGHT,\r\n\t\tTitanium.UI.FACE_UP,\r\n\t\tTitanium.UI.FACE_DOWN\r\n];\r\n\r\nwin.add(title);\r\nwin.add(but1);\r\nwin.add(but2);\r\nwin.open();\r\n{code}\r\n\r\n3. Make sure you add the code below to tiapp.xml\r\n{code}\r\n\r\n auto\r\n\r\n{code}\r\n\r\n4. Build & run on BB device\r\n5. Start the app\r\n6. Change the orientation from portrait to landscape & viceversa\r\n\r\nActual Result:\r\n1. Notice that the label & buttons have a delay when orientation change\r\n2. The window changes the orientation first & then the controls appear to be rendered from the side to the right position\r\n3. The delay is small but can be seen.\r\n4. Also, the BB native apps on the device do not have this behavior", "attachment": [], "flagged": false, "summary": "BlackBerry : Drawing of controls is delayed when orientation change from portrait to landscape & viceversa", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Ti Studio : 3.1.0.201304031528\r\nTi SDK : 3.2.0.v20130407182554", "comment": { "comments": [ { "id": "411475", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T18:29:12.000+0000", "updated": "2017-03-13T18:29:12.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }