{ "id": "174160", "key": "TIMOB-27413", "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": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-04T18:14:12.000+0000", "created": "2019-09-23T12:01:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule", "ios", "regression" ], "versions": [ { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [ { "id": "58820", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175631", "key": "TIMOB-28184", "fields": { "summary": "Ti.UI.NavigationBar Test Suite: Titanium.UI.NavigationBar Acceptance TIMOB-27413 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 } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-10-09T09:45:47.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": "There was a trick to remove the shadow on navigation bar. It consisted on set a image of the same color as the background and set it to *barImage* property and set *hideShadow* to true.\r\n\r\nIt is working with 8.2.0.GA on iOS 13 < but not on iOS 13.\r\n\r\ntss:\r\n\r\n\r\n{code:javascript}\r\n\"Window\" : {\r\n navTintColor: 'black',\r\n translucent: false,\r\n hideShadow: true,\r\n barImage: '/images/barBackground.png', //white imagen 1px size\r\n}\r\n{code}\r\n\r\n\r\nThis line could be related with:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/11aef9cc1069c395e8f9a45570633e40dd80f76e/iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.m#L442\r\n\r\nOn the screenshot attached:\r\n\r\n- iOS 13 on the left side.\r\n- iOS 12 on the right side.\r\n\r\n", "attachment": [ { "id": "66971", "filename": "bgImage.png", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-25T19:03:27.000+0000", "size": 2476, "mimeType": "image/png" }, { "id": "66964", "filename": "image.png", "author": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "created": "2019-09-23T11:59:52.000+0000", "size": 56260, "mimeType": "image/png" }, { "id": "66972", "filename": "shadowImage.png", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-25T19:03:31.000+0000", "size": 744, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Window hideShadow and shadowImage property doesn't works on iOS 13", "creator": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "subtasks": [], "reporter": { "name": "jormagar", "key": "jormagar", "displayName": "Jorge Macias Garcia", "active": true, "timeZone": "Europe/Brussels" }, "environment": null, "closedSprints": [ { "id": 1165, "state": "closed", "name": "2019 Sprint 20", "startDate": "2019-09-23T15:38:43.949Z", "endDate": "2019-10-06T15:38:00.000Z", "completeDate": "2019-10-07T18:33:11.953Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "451616", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master) - https://github.com/appcelerator/titanium_mobile/pull/11239\r\nPR (8_2_X) - https://github.com/appcelerator/titanium_mobile/pull/11240\r\n\r\nTest Case 1 (hide shadow) - \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#ffff',\r\n navTintColor: 'black',\r\n translucent: false,\r\n hideShadow: true,\r\n barImage: 'bgImage.png',\r\n});\r\n\r\nvar navWin = Ti.UI.createNavigationWindow({\r\n\twindow: win\r\n\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Trigger'\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n Ti.API.info('Hello world!');\r\n});\r\n\r\nwin.add(btn);\r\nnavWin.open();\r\n{code}\r\n\r\nTest Case 2 - (shadow image)\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#ffff',\r\n navTintColor: 'black',\r\n translucent: false,\r\n shadowImage: 'shadowImage.png',\r\n barImage: 'bgImage.png',\r\n});\r\n \r\nvar navWin = Ti.UI.createNavigationWindow({\r\n\twindow: win\r\n \r\n});\r\n \r\nvar btn = Ti.UI.createButton({\r\n title: 'Trigger'\r\n});\r\n \r\nbtn.addEventListener('click', function() {\r\n Ti.API.info('Hello world!');\r\n});\r\n \r\nwin.add(btn);\r\nnavWin.open();\r\n{code}", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-24T21:36:05.000+0000", "updated": "2019-10-04T18:10:56.000+0000" }, { "id": "451673", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting on Jenkins build for 8_2_X branch.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-27T22:50:29.000+0000", "updated": "2019-09-27T22:50:29.000+0000" }, { "id": "451785", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 8_2_X", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-02T20:33:52.000+0000", "updated": "2019-10-02T20:33:52.000+0000" }, { "id": "451858", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified On:\r\nMac OS: 10.14.5\r\nSDK: 8.2.1.v20191003075717, 8.3.0.v20191003144543\r\nAppc CLI: 7.1.1\r\nJDK: 1.8.0_162\r\nNode: 10.5.0\r\nStudio: 5.1.4.201909061933\r\nXcode: 11.0\r\nDevice: iPhone X(13.0), iPhone 7Plus(12.3.1)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-04T18:14:12.000+0000", "updated": "2019-10-04T18:14:12.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }