{ "id": "140152", "key": "TIMOB-18070", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-12-09T17:40:14.000+0000", "created": "2014-11-21T15:59:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T22:56:46.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": "h3. Issue\r\n\r\nWhen we create a scrollableView that includes a large number of views the page controls are created in a single line causing some of the controls to be outside the window width and user cant follow which view index is currently being displayed.\r\n\r\nh3. Steps to repro\r\n\r\n1. Run test code on an iPhone 5 simulator/device\r\n2. Swipe the views in the scrollableView\r\n\r\nExpected Result\r\nUser will be able to follow the current view with the controls\r\n\r\nActual Result\r\nUser won't see the total controls as some are not rendered in screen\r\n\r\nh3. Test Code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar view1 = [];\r\n\r\nfor (var i = 0; i < 30; i++) {\r\n\tvar view2 = Ti.UI.createView({\r\n\t\tbackgroundColor : '#246'\r\n\t});\r\n\tview1.push(view2);\r\n};\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n\tviews : view1,\r\n\tshowPagingControl : true\r\n});\r\n\r\nwin.add(scrollableView);\r\n\r\nwin.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "53122", "filename": "PageControl.zip", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-09T16:33:43.000+0000", "size": 191517, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: scrollableView page controls are out of screen ", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.4.X\r\niOS 7/8", "closedSprints": [ { "id": 272, "state": "closed", "name": "2014 Sprint 25 SDK", "startDate": "2014-12-08T22:49:31.264Z", "endDate": "2014-12-22T01:00:00.000Z", "completeDate": "2015-01-05T18:18:28.523Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "335590", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "body": "After running a native test the behaviour is the same using the official Page Control sample app from Apple https://developer.apple.com/library/ios/samplecode/PageControl/Introduction/Intro.html ", "updateAuthor": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-09T16:36:07.000+0000", "updated": "2014-12-09T16:36:07.000+0000" }, { "id": "335602", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Not Our Bug\" based on comments.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-09T17:40:14.000+0000", "updated": "2014-12-09T17:40:14.000+0000" }, { "id": "413446", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this issue is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:56:46.000+0000", "updated": "2017-03-16T22:56:46.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }