{ "id": "174708", "key": "TIMOB-27754", "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": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-04-09T14:50:48.000+0000", "created": "2020-02-08T07:12:50.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [ { "id": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" } ], "issuelinks": [ { "id": "58415", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175123", "key": "TIMOB-27952", "fields": { "summary": "TI.UI.SearchBar Test Suite: TI.UI.SearchBar TIMOB-27754 iOS Only", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "58416", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174854", "key": "TIMOB-27820", "fields": { "summary": "iOS 10: SearchBar color property does not work with showCancel 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": "None", "id": "6" }, "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": "2020-06-10T13:03:55.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": "We have tested this issue using the attached sample code with ti SDK 8.3.1.GA iPhone 11 Pro Max(ios 13.3) simulator. I assigned a red color to the color attribute and also a red color for hintTextColor. Neither the hintTextColor nor color changes the color of the text.\r\n\r\n*Code:*\r\n*index.js*\r\n{code}\r\n$.index.open();\r\n{code}\r\n*index.xml*\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*Test steps*:\r\n1. Open Studio and create a new alloy project.\r\n2. Copy index.xml and index.js code and paste your project.\r\n3. Run the project on iPhone or simulator.\r\n4. Then observe the search bar.\r\n\r\n*Test Output*: Please check the attachment section.\r\n\r\nThanks.", "attachment": [ { "id": "67271", "filename": "Simulator Screen Shot - iPhone 11 Pro Max - 2020-02-08 at 13.10.39.png", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2020-02-08T07:11:10.000+0000", "size": 83974, "mimeType": "image/png" }, { "id": "67306", "filename": "TIMOB-27754-iOS10.zip", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-18T15:27:41.000+0000", "size": 8660863, "mimeType": "application/zip" }, { "id": "67307", "filename": "TIMOB-27754-iOS13.zip", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-18T15:27:51.000+0000", "size": 8660873, "mimeType": "application/zip" } ], "flagged": false, "summary": "SearchBar text color and hinTextColor does not work properly.", "creator": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Appcelerator Command-Line Interface, version 7.1.2\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.15.2\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 10.16.3\r\n npm Version = 6.9.0\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\nTitanium SDK\r\n SDK Version = 8.3.1.GA\r\n Target Platform = iphone", "closedSprints": [ { "id": 1180, "state": "closed", "name": "2020 Sprint 4", "startDate": "2020-02-17T09:48:41.834Z", "endDate": "2020-02-28T09:48:00.000Z", "completeDate": "2020-02-28T17:07:21.344Z", "originBoardId": 114 }, { "id": 1181, "state": "closed", "name": "2020 Sprint 5", "startDate": "2020-03-02T18:45:02.513Z", "endDate": "2020-03-13T18:45:00.000Z", "completeDate": "2020-03-13T16:42:04.632Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454387", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11494\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar searchBar = Ti.UI.createSearchBar({\r\n\tcolor: 'red',\r\n\tbarColor: 'gray',\r\n\tshowCancel: 'true',\r\n\thintTextColor: 'red',\r\n\thintText: 'Enter Value',\r\n\theight: 43,\r\n\ttop: 100\r\n});\r\n\r\nwin.add(searchBar);\r\nwin.open();\r\n\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-21T23:56:44.000+0000", "updated": "2020-02-21T23:56:44.000+0000" }, { "id": "454746", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "*FR Failed*\r\n\r\nSee attached test cases. In summary:\r\n* *iOS 10* - If _showCancel_ property is set (either true or false), then the _color_ property will not work as expected if used as a standalone SearchBar. This issue does not affect the classic version, only in Alloy/TSS. \r\n* *iOS 13* - If SearchBar is used within a ListView, then _hintTextColor_ property will not work. This does not affect TableView or as a standalone SearchBar.\r\n\r\n [^TIMOB-27754-iOS10.zip] [^TIMOB-27754-iOS13.zip] ", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-18T15:27:41.000+0000", "updated": "2020-03-18T15:29:35.000+0000" }, { "id": "454755", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ssaddique] What is behavior without this PR? Do issues, mentioned by you, exist without this PR?", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-18T17:20:22.000+0000", "updated": "2020-03-18T17:21:56.000+0000" }, { "id": "454756", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "[~vijaysingh] \r\n* iOS 10 - Same behaviour\r\n* iOS 13:\r\n# Standalone - _hintTextColor_ and _color_ do not work at all\r\n# ListView and TableView - hintTextColor applies when you first tap the search field. On first launch, the hintTextColor is not displaying as expected. _color_ property doesn't work at all.\r\n\r\nTested with 8.3.1.GA", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-18T17:33:16.000+0000", "updated": "2020-03-18T17:42:05.000+0000" }, { "id": "454771", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ssaddique] As iOS 10 issue is independent of this issue, can you create a new ticket for that?\r\nI have fixed iOS 13 related issue. You can verify again. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-19T17:46:04.000+0000", "updated": "2020-03-19T17:46:04.000+0000" }, { "id": "454772", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "[~vijaysingh] Sure. I have verified the changes and can confirm that the properties in iOS 13 are fully functional now.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-19T17:48:36.000+0000", "updated": "2020-03-19T17:48:36.000+0000" }, { "id": "454786", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "*FR Passed*\r\n\r\n*Test Environment*\r\nSDK Ver: 8.3.1.GA and 9.1.0 (this PR)\r\nOS Ver: 10.14.6\r\nXcode Ver: Xcode 11.3.1\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.0.0\r\nDaemon Ver: 3.2.0\r\nTi CLI Ver: 5.2.2\r\nAlloy Ver: 1.14.6\r\nNode Ver: 10.17.0\r\nSimulators: iPhone 11 Pro Max (13.3), iPhone XS (12.4), iOS11 and iOS 10", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-20T15:30:34.000+0000", "updated": "2020-03-20T15:30:34.000+0000" }, { "id": "454850", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (9_0_X) - https://github.com/appcelerator/titanium_mobile/pull/11566", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-25T17:22:42.000+0000", "updated": "2020-03-25T17:22:42.000+0000" }, { "id": "454913", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening as 9_0_X needs testing and merging. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-31T12:58:29.000+0000", "updated": "2020-03-31T12:58:29.000+0000" }, { "id": "455019", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for 9_0_X as well", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-08T11:38:52.000+0000", "updated": "2020-04-08T11:38:52.000+0000" }, { "id": "455054", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Fix verified in SDK version 9.1.0.v20200406120646. and 9.0.1.v20200408050151\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/11494 - Master\r\nPR (9_0_X) - https://github.com/appcelerator/titanium_mobile/pull/11566", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-09T14:50:39.000+0000", "updated": "2020-04-09T14:50:39.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }