{ "id": "123272", "key": "TIMOB-15901", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15716", "description": "2013 Sprint 25 API", "name": "2013 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-05T19:23:34.000+0000", "created": "2013-12-05T10:30:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_scrollableview", "qe-3.2.0", "qe-testadded", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-11T08:56:53.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": "Green, red, Blue view does not appear in 3.2 SDk. Hence it is a regression\r\n\r\nSteps To Reproduce:\r\n1. Run the app using code below.\r\n2. Scroll left and right in the colored area.\r\n4. Press 'OFF', and scroll left and right in the colored area (Paging control appears)\r\n\r\nActual:\r\nGreen, red, Blue view are not visible in 3.2 SDK while in SDK:3.1.3.GA Views appear properly\r\n\r\nExpected:\r\nColored area does not appear\r\n\r\n{code}\r\n\r\nvar _window = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\nvar views = [];\r\n\t\t\r\n\t\tfunction makeView(color) {\r\n\t\t\treturn Ti.UI.createView({\r\n\t\t\t\tright: 0, left: 0, top: 0, bottom: 0,\r\n\t\t\t\tbackgroundColor: color\r\n\t\t\t});\r\n\t\t};\r\n\t\t\r\n\t\tviews.push(makeView(\"red\"));\r\n\t\tviews.push(makeView(\"green\"));\r\n\t\tviews.push(makeView(\"blue\"));\r\n\t\tvar scrollableView = Ti.UI.createScrollableView({\r\n\t\t\tbottom: \"50dp\", left: \"10dp\", right: \"10dp\", top: \"50dp\",\r\n\t\t\tviews: views\r\n\t\t});\r\n\t\t_window.add(scrollableView);\r\n\t\t\r\n\t\t// Switch to toggle the showPagingControl property on the scrollable view.\r\n\t\tvar showControlSwitch = Ti.UI.createSwitch({\r\n\t\t\tvalue: scrollableView.showPagingControl,\r\n\t\t\tenabled:true,\r\n\t\t\ttitle: \"showPagingControl?\",\r\n\t\t\tbottom: \"5dp\", height: \"40dp\", left: \"10dp\", width: \"150dp\"\r\n\t\t});\r\n\t\t_window.add(showControlSwitch);\r\n\t\t\r\n\t\t// Displays current value of showPagingControl property.\r\n\t\t// This should default to false.\r\n\t\tvar showControlProperty = Ti.UI.createLabel({\r\n\t\t\tleft: \"160dp\", text: \"value: \" + scrollableView.showPagingControl,\r\n\t\t\tbottom: \"5dp\", height: \"40dp\", right: \"5dp\"\r\n\t\t});\r\n\t\t_window.add(showControlProperty);\r\n\t\t\r\n\t\tshowControlSwitch.addEventListener('change', function (e) {\r\n\t\t scrollableView.showPagingControl = e.value;\r\n\t\t showControlProperty.text = 'value: ' + scrollableView.showPagingControl;\r\n\t\t});\r\n\t\t\r\n\t\t _window.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Views not appearing on scrollableView", "creator": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "OSX: 10.8.5\r\nXcode: 5.0\r\nAppcelerator Studio:3.2.0.201311272052\r\nSDK:3.2.0.v20131204220843\r\nalloy: 1.3.0-beta\r\nacs: 1.0.9\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-beta\r\ntitanium-code-processor: 1.1.0-beta\r\nDevice: ipod touch 2(ios 7)\r\n", "comment": { "comments": [ { "id": "282638", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5065\r\n\r\nAdditional pull against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5067", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T18:37:26.000+0000", "updated": "2013-12-05T19:05:03.000+0000" }, { "id": "282642", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_2_X\nhttps://github.com/appcelerator/titanium_mobile/pull/5066", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T18:40:09.000+0000", "updated": "2013-12-05T18:40:09.000+0000" }, { "id": "282664", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Additional Test Case\n\nTesting instructions:\n1. Run the code below\n2. Turn the paging control on and off and verify the views resize correctly\n3. Rotate the device/simulator and verify the views resize correctly (with paging control on and off)\n4. Verify the behavior on each page of the scrollable view (not just the first page)\n\n{code}\nvar _window = Titanium.UI.createWindow({ \n backgroundColor:'#fff',\n orientationModes:[1,2,3,4]\n});\nvar views = [];\n \nfunction makeView(color) {\n return Ti.UI.createView({\n right: 20, left: 20, top: 20, bottom: 20,\n backgroundColor: color\n });\n};\n \nviews.push(makeView(\"red\"));\nviews.push(makeView(\"green\"));\nviews.push(makeView(\"blue\"));\nvar scrollableView = Ti.UI.createScrollableView({\n bottom: \"50dp\", left: \"10dp\", right: \"10dp\", top: \"50dp\",\n views: views,\n backgroundColor:'pink'\n});\n_window.add(scrollableView);\n \n// Switch to toggle the showPagingControl property on the scrollable view.\nvar showControlSwitch = Ti.UI.createSwitch({\n value: scrollableView.showPagingControl,\n enabled:true,\n title: \"showPagingControl?\",\n bottom: \"5dp\", height: \"40dp\", left: \"10dp\", width: \"150dp\"\n});\n_window.add(showControlSwitch);\n \n// Displays current value of showPagingControl property.\n// This should default to false.\nvar showControlProperty = Ti.UI.createLabel({\n left: \"160dp\", text: \"value: \" + scrollableView.showPagingControl,\n bottom: \"5dp\", height: \"40dp\", right: \"5dp\"\n});\n_window.add(showControlProperty);\n \nshowControlSwitch.addEventListener('change', function (e) {\n scrollableView.showPagingControl = e.value;\n showControlProperty.text = 'value: ' + scrollableView.showPagingControl;\n});\n \n _window.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T19:15:45.000+0000", "updated": "2013-12-05T19:15:45.000+0000" }, { "id": "282767", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Changed the component from Android to iOS", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T00:27:46.000+0000", "updated": "2013-12-06T00:27:46.000+0000" }, { "id": "283176", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Appcelerator Studio: 3.2.0.201312081316\r\nSDK:3.2.0.v20131208204843\r\nalloy: 1.3.0-beta\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-beta\t\r\ntitanium-code-processor: 1.1.0-beta\r\nXcode:5.0.2\r\nOS: Mac OSX 10.9\r\nDevice: iphone5(V7.0.4)\r\n\r\nClosing as fixed and verified.\r\nObserved that Colored area(Green,red,Blue) are now visible in the latest SDK build.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-09T07:23:29.000+0000", "updated": "2013-12-09T07:23:29.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }