{ "id": "172755", "key": "TIMOB-26663", "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": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-03-15T07:35:08.000+0000", "created": "2018-12-15T08:57:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Ti.SDK", "android", "touchfeedback" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [ { "id": "59240", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172086", "key": "TIMOB-26315", "fields": { "summary": "Android: Support touch feedback on backgroundImage, backgroundGradient, and transparent backgrounds", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-03-15T07:35:08.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": "The code below illustrates the bug. I have added a border radius to the second view so that it is visible and can be clicked on. The same behaviour can also be observed without border radius\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nvar vwWithBgColor = Ti.UI.createView({\r\n\ttop : 50,\r\n\twidth : 200,\r\n\theight : 100,\r\n\tbackgroundColor : 'red',\r\n\ttouchFeedback : true,\r\n\ttouchFeedbackColor : 'blue'\r\n});\r\nwin.add(vwWithBgColor);\r\n\r\nvar vwWithoutBgColor = Ti.UI.createView({\r\n\ttop : 200,\r\n\twidth : 200,\r\n\theight : 100,\r\n\tbackgroundColor : 'transparent',\r\n\ttouchFeedback : true,\r\n\ttouchFeedbackColor : 'blue',\r\n\tborderColor : 'red',//included bordercolor so that the view is visible\r\n});\r\nwin.add(vwWithoutBgColor);\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "67838", "filename": "TouchFeedbackTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-09T03:33:19.000+0000", "size": 3565, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: touchFeedbackColor doesn't work if view has a transparent backgroundColor and a border", "creator": { "name": "pritish.george", "key": "pritish.george", "displayName": "pritish.george", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pritish.george", "key": "pritish.george", "displayName": "pritish.george", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 7.5.0", "comment": { "comments": [ { "id": "444660", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce the issue with the sample code provided. SDK 7.5.0.GA. Moving TIMOB. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-12-17T21:47:57.000+0000", "updated": "2018-12-17T21:47:57.000+0000" }, { "id": "445487", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "You can't reset the touchFeedbackColor at runtime if the view has a border. Might be worth looking at when changing the transparentBackground color bug. This box will show a feedbackColor when you run it for the first time\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'black'\r\n});\r\n\r\nvar vwWithBgColor = Ti.UI.createView({\r\n\ttop: 50,\r\n\twidth: 200,\r\n\theight: 100,\r\n\tbackgroundColor: 'red',\r\n\ttouchFeedback: true,\r\n\ttouchFeedbackColor: 'blue',\r\n\tborderColor:\"yellow\"\r\n});\r\nwin.add(vwWithBgColor);\r\n\r\nvwWithBgColor.addEventListener(\"click\", function() {\r\n\t// removes the color completely\r\n\tvwWithBgColor.touchFeedbackColor = '#' + Math.floor(Math.random() * 16777215).toString(16);\r\n})\r\n\r\nwin.open();\r\n{code}\r\n\r\nbut after the click it won't show another color", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-19T12:21:54.000+0000", "updated": "2019-01-19T12:21:54.000+0000" }, { "id": "458222", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12446", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-11T16:36:02.000+0000", "updated": "2021-02-11T16:36:02.000+0000" }, { "id": "458375", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins builld. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-10T16:12:01.000+0000", "updated": "2021-03-10T16:12:01.000+0000" }, { "id": "458378", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 10_0_X for 10.0.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-03-10T20:12:38.000+0000", "updated": "2021-03-10T20:12:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }