{ "id": "170152", "key": "TIMOB-25470", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-06-12T06:40:25.000+0000", "created": "2017-10-27T02:35:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "iphone" ], "versions": [], "issuelinks": [ { "id": "56605", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "169648", "key": "TIMOB-25201", "fields": { "summary": "iOS: tintColor doesn't work on imageView if dimensions (height, width) are provided", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:41:06.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{{tintColor}} works with the hex value only, without the '#'...\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: \"olive\", layout: \"vertical\", id: \"index\" });\r\n\r\nvar img1 = Ti.UI.createImageView({ id: \"img\", image: \"/images/ic_assignment_white_48.png\", top: \"40%\", tintColor: \"#ffa500\" });\r\nvar img2 = Ti.UI.createImageView({ id: \"img2\", image: \"/images/ic_assignment_white_48.png\", tintColor: \"ffa500\" });\r\n\r\nwin.add(img1);\r\nwin.add(img2);\r\n\r\nwin.open();\r\n{code}\r\n\r\nTo replicate, create a basic alloy app. Replace code in index.xml and index.js with below, respectively:\r\n\r\nINDEX.XML\r\n----------------\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n\r\nINDEX.JS\r\n------------\r\n$.index.open();\r\n\r\n$.img3.tintColor= '#ffa500';\r\n$.img4.tintColor= 'ffa500';\r\n", "attachment": [ { "id": "63487", "filename": "Screen Shot 2017-10-27 at 1.35.16 pm.png", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-10-27T02:35:35.000+0000", "size": 48689, "mimeType": "image/png" } ], "flagged": false, "summary": "tintColor hex value only works without '#' 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": "Mac OSX Sierra\r\nAppC Studio : 4.10.0.201709271713\r\nSDK: 6.2.2 & 6.3.0.v20171024230412\r\niPhone 7 & others (Simulator)", "closedSprints": [ { "id": 1039, "state": "closed", "name": "2018 Sprint 12 SDK", "startDate": "2018-06-03T15:22:23.401Z", "endDate": "2018-06-17T15:22:00.000Z", "completeDate": "2018-06-18T20:45:36.363Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "438327", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is not due to '#'. It is due to position of image view. This is fixed as part of TIMOB-25201in 7.1.0.\r\n[~isener] Can you please verify it in SDK >=7.1.0. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-12T06:37:20.000+0000", "updated": "2018-06-12T06:37:20.000+0000" }, { "id": "438328", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "body": "[~vijaysingh], thank you for the fix, but I can't really test this any longer as this case was created 9 months ago...", "updateAuthor": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-06-12T06:45:20.000+0000", "updated": "2018-06-12T06:45:20.000+0000" }, { "id": "439977", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:41:06.000+0000", "updated": "2018-08-06T17:41:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }