{ "id": "85813", "key": "TIMOB-7498", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-11T00:29:25.000+0000", "created": "2012-02-01T11:22:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-10T14:49: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": "When you rotate or change orientation of the ipad, you can see a flicker of the previous/next item as the rotation is happening in the scrollable view.\r\nh4. Repo Steps\r\n1. Run the below code \r\n2. Change the iPad orientation or rotate to left or right. You can see a portion of previous/next view while changing the orientation.\r\n\r\n{code}\r\nwin= Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\nvar view1 = Ti.UI.createView({\r\n\tbackgroundColor:'red'\r\n});\r\nvar l1 = Ti.UI.createLabel({\r\n\ttext:'View 1',\r\n\tcolor:'#fff',\r\n\twidth:'auto',\r\n\theight:'auto'\r\n});\r\nview1.add(l1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n\tbackgroundColor:'blue'\r\n});\r\nvar l2 = Ti.UI.createLabel({\r\n\ttext:'Click Me (View 2 - see log)',\r\n\tcolor:'#fff',\r\n\twidth:'auto',\r\n\theight:'auto'\r\n});\r\nview2.add(l2);\r\n\r\nvar view3 = Ti.UI.createView({\r\n\tbackgroundColor:'green'\r\n});\r\nvar l3 = Ti.UI.createLabel({\r\n\ttext:'View 3',\r\n\tcolor:'#fff',\r\n\twidth:'auto',\r\n\theight:'auto'\r\n});\r\nview3.add(l3);\r\n\r\nvar view4 = Ti.UI.createView({\r\n\tbackgroundColor:'black'\r\n});\r\nvar l4 = Ti.UI.createLabel({\r\n\ttext:'View 4',\r\n\tcolor:'#fff',\r\n\twidth:'auto',\r\n\theight:'auto'\r\n});\r\nview4.add(l4);\r\n\r\n\r\nvar scrollView = Titanium.UI.createScrollableView({\r\n\tviews:[view1,view2,view3,view4],\r\n\tshowPagingControl:true,\r\n\tpagingControlHeight:30,\r\n\tmaxZoomScale:2.0,\r\n\tcurrentPage:1\r\n});\r\n\r\nwin.add(scrollView);\r\nwin.open();\r\n\r\n{\\code}", "attachment": [ { "id": "25433", "filename": "scroll_views_scrollable.js", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-01T11:22:44.000+0000", "size": 5196, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: scrollable view orientation change shows views to its left and right", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5\r\niPad1\r\n", "comment": { "comments": [ { "id": "182415", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120207171634\r\nTitanium Studio, build: 1.0.8.201201262211\r\nxcode: 4.2\r\nDevices: iPad 1 (4.3.5)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-08T13:32:15.000+0000", "updated": "2012-02-08T13:32:15.000+0000" }, { "id": "183876", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening bug. \r\n\r\nViews to its left and right can still be seen if device is rotated fast enough.\r\n\r\nEnvironment:\r\nSDK build: 1.8.2.v20120221114636\r\nxcode: 4.2\r\nTitanium Studio, build: 1.0.9.201202131024\r\nDevice: ipad 2 (4.3.5)\r\n\r\nSteps to reproduce\r\n1. Run above code or KS's Base UI > Views > Scroll Views > Scrollable View\r\n2. Starting in landscape orientation, rotate 180 degrees then quickly back to original landscape orientation\r\n\r\nActual: Views to the left and right can be seen.\r\nExpected: Views to the left and right should not be seen when rotating device.\r\n\r\nNote: \r\n* You will not be able to see the bug if you rotate the device too slowly \r\n* If you use the above code, you will need to rotate the device a couple of times before seeing the bug", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-02-21T16:10:01.000+0000", "updated": "2012-02-21T16:10:01.000+0000" }, { "id": "185882", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Rotating the device quickly (more than a normal use case) is not a valid scenario as it takes some time to calculate and draw the views.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-11T00:29:25.000+0000", "updated": "2012-03-11T00:29:25.000+0000" }, { "id": "213877", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with \r\nmobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\nIpad 5.1", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T14:48:44.000+0000", "updated": "2012-08-10T14:48:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }