{ "id": "168507", "key": "TIMOB-24854", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-06-20T12:12:58.000+0000", "created": "2017-06-20T03:33:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:52:09.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": [], "description": "tintColor doesn't work from Alloy (yet to test from Titanium) unless the styling parameters are in the following sequence:\r\n\r\nimage=\"/images/ic_clear_white.png\" bubbleParent=\"false\" backgroundColor=\"transparent\" tintColor=\"#01A92A\"\r\n\r\nif the sequence is different, tintColor doesn't work.\r\n\r\n\r\nTo replicate:\r\n\r\n1) create alloy app\r\n2) add following to index.xml\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\r\n3) test it\r\n\r\n\r\n\r\n\r\nI have attached the png image and a screen-grab of the app\r\n", "attachment": [ { "id": "62700", "filename": "ic_check_white.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-06-20T03:33:40.000+0000", "size": 137, "mimeType": "image/png" }, { "id": "62699", "filename": "Screen Shot 2017-06-20 at 13.33.19.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-06-20T03:33:47.000+0000", "size": 22690, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: tintColor doesn't work on iOS simulator", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "MacOSX\r\nSDK: 6.1.0 GA\r\nStudio: 4.8.1.201612050850", "comment": { "comments": [ { "id": "422359", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The {{tintColor}} is only applied when you use the {{system}} button-styles (default). As soon as you pass custom style parameters, e.g. {{color}} or {{backgroundColor}}, Titanium will choose the correct button-style, which is {{custom}}. In that style, the {{tintColor}} is not honored and is set with the {{color}} property. Note that the system-buttons will \"fade\" the click to indicate a press-state, for custom-styled buttons, you have to configure that by yourself.\r\n\r\n*Resolving as _Not our Bug_*", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-20T12:12:58.000+0000", "updated": "2017-06-20T12:13:36.000+0000" }, { "id": "422429", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi Hans,\r\n\r\nIn this case, should this be documented in the docs? \r\n\r\nMyself, like many other developers out there, are not experts on both iOS and Android. It is normal for one to assume that the tint should also work in iOS as it does in Android.", "updateAuthor": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-06-21T00:18:01.000+0000", "updated": "2017-06-21T00:18:01.000+0000" }, { "id": "422439", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Agree, I actually discovered this behavior only a few months ago while fixing a different button-related issue. We should add a paragraph to the Ti.UI.Button.tintColor property. There actually are docs \"[iOS Platform Notes|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Button-property-color]\" that mention the behavior, but they may be overseen and should similarly be added to the tintColor ones as well. What do you think?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-21T06:13:20.000+0000", "updated": "2017-06-21T06:13:20.000+0000" }, { "id": "422441", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi Hans,\r\n\r\nWhile I agree, I am not sure if we are talking about the same thing. What I am raising is not being able to use \"tintColor\" on an \"imageview\" in iOS. It is the \"X\" in the screengrab.\r\n\r\n\r\n\r\nIf you remove backgroundColor or bubbleParent, tintColor will fail. Also fails if you change the order of the parameters.\r\n\r\nAre we on the same page???", "updateAuthor": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-06-21T06:20:56.000+0000", "updated": "2017-06-21T06:20:56.000+0000" }, { "id": "440295", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as \"not our bug\". If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:52:09.000+0000", "updated": "2018-08-06T17:52:09.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }