{ "id": "93130", "key": "TIMOB-9510", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13408", "description": "Sprint 2012-12 API", "name": "Sprint 2012-12 API", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-15T14:19:23.000+0000", "created": "2012-06-12T22:43:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_scrollableview", "qe-and060112", "qe-testadded", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-10T14:31:55.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The scroll arrows shown on scrollable views is shown in incorrect direction on launch, when the app is launched which has the last view (of the scrollable view) as the starting view.\r\n\r\nRegression. This does not occur on 2.0.2\r\n\r\nSteps to Reproduce:\r\n1. Create an application with the code below\r\n2. Launch the application\r\n3. The blue view (which is the second view out of two views) is shown to start off\r\n\r\nActual: A Scroll arrow is shown for few seconds in the right direction of the view, indicating next view in sequence. (Refer to attached screenshot)\r\n\r\nExpected: The Scroll arrow should be in the left direction \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\nvar view1 = Ti.UI.createView(\r\n\t\t{\r\n\t\t\tbackgroundColor:'red'\r\n\t\t});\r\n\t\tvar view2 = Ti.UI.createView(\r\n\t\t{\r\n\t\t\tbackgroundColor:'blue'\r\n\t\t});\r\n\t\tvar scrollView = Titanium.UI.createScrollableView(\r\n\t\t{\r\n\t\t\tviews:[view1,view2],\r\n\t\t\tshowPagingControl:true,\r\n\t\t\tpagingControlHeight:30,\r\n\t\t\tmaxZoomScale:2.0,\r\n\t\t\tcurrentPage:1,\r\n\t\t\theight:340\r\n\t\t});\r\n\t\tvar view = Ti.UI.createView(\r\n\t\t{\r\n\t\t});\r\n\t\tview.add(scrollView);\r\n\t\t\r\n\t\twin.add(view);\r\n\t\twin.fullscreen = true;\r\nwin.open();\r\n{code}", "attachment": [ { "id": "28317", "filename": "ScrollableView_IncorrectArrow", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T22:43:05.000+0000", "size": 16071, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Android: ScrollableView: Scroll Arrow shown on View is in incorrect direction when app is launched with last view as starting view", "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.0.201206111802\r\nTitanium SDK: 2.1.0.v20120612170248\r\nAndroid Device: Android Tab (V3.2), Android 2.2\r\nRuntime: v8", "comment": { "comments": [ { "id": "198978", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206172244\r\nTi Mobile SDK2.1.0.v20120618134156 hash r00905cd0\r\nOSX Lion 10.7.3\r\nNexus S OS 4.0.4\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-18T14:51:29.000+0000", "updated": "2012-06-18T14:51:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }