{ "id": "142666", "key": "TIMOB-18363", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-27T20:10:59.000+0000", "created": "2015-01-12T17:16:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "exalture" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-12T21:30:24.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": "h4. Problem Description\r\nSlider with left track image set still displays the default slider on android, this works on iOS.\r\n\r\nh4. Sample Code\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fff'\r\n});\r\nvar slider = Ti.UI.createSlider({\r\n\t\t\tvalue : 10,\r\n\t\t\tmin : 1,\r\n\t\t\tmax : 10,\r\n\t\t\tleft : 0,\r\n\t\t\twidth : '100%',\r\n\t\t\tleftTrackImage:\"0097A9-1.png\",\t\r\n\t\t});\r\nwin.add(slider);\r\nwin.open();\r\n{code}\r\nImage attached.\r\n\r\nh4. Expected Result\r\nCustom slider should be shown\r\n\r\nh4. Actual Result\r\nDefault slider is shown", "attachment": [ { "id": "53528", "filename": "0097A9-1.png", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-12T17:16:55.000+0000", "size": 82, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: leftTrackImage on slider is not being applied", "creator": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.4\r\nTi SDK 3.4.1", "closedSprints": [ { "id": 345, "state": "closed", "name": "2015 Sprint 04 SDK", "startDate": "2015-02-14T01:00:53.297Z", "endDate": "2015-03-01T01:00:00.000Z", "completeDate": "2015-02-28T15:39:43.652Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "344618", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6669/files\r\nh4. Note to QE:\r\nEarlier versions of the Titanium SDK implicitly enforced that both the leftTrackImage and rightTrackImage properties be specified before the properties would be honored.\r\nBeginning with Titanium SDK 4.0.0 this limitation has been removed. However it is recommended that either both or neither be specified.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-27T20:08:14.000+0000", "updated": "2015-02-27T20:08:14.000+0000" }, { "id": "345882", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. The leftTrackImage is now applied as expected on android when both the track images are not specified.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.0.0.201503062102\r\nTi SDK : 4.0.0.v20150312095013\r\nCLI : 3.5.0-dev\r\nAlloy : 1.5.1\r\nMAC Yosemite : 10.10.2\r\nNexus 5 - Android 5.0\r\nSamsung S3 - Android 4.2.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T21:29:38.000+0000", "updated": "2015-03-12T21:30:10.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }