{ "id": "113142", "key": "TIMOB-13631", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-12T20:50:55.000+0000", "created": "2013-04-19T21:51:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity", "qe-3.1.1" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-12T20:50: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": "Android: Slider control height does not scale with background.\r\n\r\nParity issue.\r\n\r\nTest Steps:\r\n\r\n1. Run code (app.js):\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\tlayout :'vertical'\r\n});\r\n\r\nvar slider = Ti.UI.createSlider({\r\n\tbackgroundColor : win.backgroundColor,\r\n\tmin : 0,\r\n\tmax : 1000000,\r\n\tvalue : 0,\r\n\theight : '40%',\r\n\twidth : '90%'\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttop : '20%',\r\n\theight : '10%',\r\n\twidth : '90%'\r\n});\r\n\r\nfunction setButtonTitle(value)\r\n{\r\n\tbutton.title = 'Call Console ' + Math.round(value) + ' Times'\r\n}\r\n\r\nsetButtonTitle(slider.value);\r\n\r\nslider.addEventListener('change',function(){\r\n\tsetButtonTitle(slider.value);\r\n});\r\n\r\nbutton.addEventListener('click', function(){\r\n\tvar sliderValue = Math.round(slider.value);\r\n\t\r\n\tfor(var i = 0; i <= sliderValue; i++)\r\n\t\tconsole.log(i);\r\n});\r\n\r\nwin.add(button);\r\nwin.add(slider);\r\n\r\nwin.open();\r\n{code}\r\n\r\nActual Result:\r\n\r\nAndroid: Slider control height does not scale with background.\r\n\r\nExpected Result:\r\n\r\nAndroid: Slider control height does scale with background (as with iOS and MobileWeb).", "attachment": [ { "id": "37687", "filename": "slider-height-android.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T21:51:10.000+0000", "size": 24368, "mimeType": "image/png" }, { "id": "37688", "filename": "slider-height-ios.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T21:51:10.000+0000", "size": 139781, "mimeType": "image/png" }, { "id": "37689", "filename": "slider-height-mobileweb.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T21:51:10.000+0000", "size": 199248, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Slider control height does not scale with background", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Software OS X 10.8.3 (12D78)\r\nAppcelerator Studio, build: 3.1.1.201304172108\r\nTitanium SDK 3.1.0.GA\r\nnode v0.8.22\r\n├── acs@1.0.0\r\n├── alloy@1.1.0\r\n├── npm@1.2.14\r\n├── titanium@3.1.0\r\n└── titanium-code-processor@1.0.0\r\nAndroid Device: Samsung Galaxy S3 Mini 4.1.2", "comment": { "comments": [ { "id": "299853", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue is reproducible.\nTested on:\nDevice : Google Nexus 4, Android Version: 4.1.1\nDevice : Google Nexus 7, Android Version: 4.4.2\nSDK: 3.2.3.v20140403105720\nCLI version : 3.2.3-alpha2\nOS : MAC OSX 10.9.2\nAlloy: 1.3.1\nACS: 1.0.14\nnpm:1.3.2\nAppcelerator Studio, build: 3.2.3.201403271839\ntitanium-code-processor: 1.1.1-alpha\nXCode : 5.1 ", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-04T09:31:59.000+0000", "updated": "2014-04-04T09:31:59.000+0000" }, { "id": "424030", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verifying that has been fixed as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-12T20:50:55.000+0000", "updated": "2017-07-12T20:50:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }