{ "id": "98304", "key": "TIMOB-10231", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-29T18:41:34.000+0000", "created": "2012-07-30T09:27:27.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "19936", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92779", "key": "TIMOB-9366", "fields": { "summary": "Android: Add \"radial\" support to view \"backgroundGradient\" property", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:33.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "attachment": [ { "id": "30509", "filename": "ios.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T11:42:31.000+0000", "size": 126362, "mimeType": "image/png" }, { "id": "30510", "filename": "mobileweb.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T11:42:31.000+0000", "size": 44664, "mimeType": "image/png" } ], "flagged": false, "summary": "MobileWeb: BackgroundGradient shows solid color", "creator": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "210463", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Which browser are you running on? This is a known issue on IE9, but if this occurring in a different browser, then this must be a new issue.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-30T10:34:53.000+0000", "updated": "2012-07-30T10:34:53.000+0000" }, { "id": "210466", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm using Chrome 20.0.1132.57 on MacOS.", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-30T10:45:45.000+0000", "updated": "2012-07-30T10:45:45.000+0000" }, { "id": "214603", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am seeing this issue with the sample code from the api docs website. According to the documentation, MobileWeb supports background gradients.\r\n\r\nThere is no console output.\r\n\r\nTitanium Studio: 2.1.1\r\nTitanium SDK: 2.1.1, 2.1.2.v20120815081613\r\nOS: Mountain Lion\r\nBrowsers Tested: Chrome 21.0.1180.75, Firefox 14.0.1, Safari 6.0 (8536.25)\r\nAPI Docs URL: http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.Window-property-backgroundGradient\r\n\r\nSample Code:\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n title:'Tab 1',\r\n backgroundColor:'#fff',\r\n layout: 'vertical'\r\n });\r\n \r\n var radialGradient = Ti.UI.createView({\r\n top: 10,\r\n width: 100,\r\n height: 100,\r\n backgroundGradient: {\r\n type: 'radial',\r\n startPoint: { x: 50, y: 50 },\r\n endPoint: { x: 50, y: 50 },\r\n colors: [ 'red', 'blue'],\r\n startRadius: '90%',\r\n endRadius: 0,\r\n backfillStart: true\r\n }\r\n });\r\n var linearGradient = Ti.UI.createView({\r\n top: 10,\r\n width: 100,\r\n height: 100,\r\n backgroundGradient: {\r\n type: 'linear',\r\n startPoint: { x: '0%', y: '50%' },\r\n endPoint: { x: '100%', y: '50%' },\r\n colors: [ { color: 'red', offset: 0.0}, { color: 'blue', offset: 0.25 }, { color: 'red', offset: 1.0 } ],\r\n }\r\n });\r\n win1.add(radialGradient);\r\n win1.add(linearGradient);\r\n win1.open();\r\n{code}", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T11:40:38.000+0000", "updated": "2012-08-15T11:44:15.000+0000" }, { "id": "214605", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android radial gradients are not implemented: TIMOB-9366", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T11:43:28.000+0000", "updated": "2012-08-15T11:43:28.000+0000" }, { "id": "333609", "author": { "name": "mjstelly_ta", "key": "mjstelly_ta", "displayName": "Michael Stelly", "active": true, "timeZone": "America/New_York" }, "body": "I wanted to update this ticket with an observation. The following works, but does not appear consistent with how one declares a global property. If I set the config value to ONLY the property definitions: \r\n{code}\r\n\t\tradioButtonUnselectedBG : {\r\n\t\t\ttype : 'linear',\r\n\t\t\tstartPoint : {x : '50%',y : '0%'},\r\n\t\t\tendPoint : {x : '50%',y : '100%'},\r\n\t\t\tcolors : [\r\n\t\t\t\t{color : '#727272',offset : 0.0},\r\n\t\t\t\t{color : '#3e3e3e',offset : 0.75}\r\n\t\t\t\t]\r\n\t\t},\r\n{code}\r\nI can then set the backgroundGradient property of a given UI element, for example:\r\n{code} button.backgroundGradient = Alloy.Globals.colors.radioButtonSelectedBG {code}\r\n\r\n", "updateAuthor": { "name": "mjstelly_ta", "key": "mjstelly_ta", "displayName": "Michael Stelly", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-25T13:36:42.000+0000", "updated": "2014-11-25T13:36:42.000+0000" }, { "id": "423169", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as \"Won't fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T18:41:34.000+0000", "updated": "2017-06-29T18:41:34.000+0000" }, { "id": "436421", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:33.000+0000", "updated": "2018-04-04T23:20:33.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }