{
"id": "170285",
"key": "TIMOB-25637",
"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": "20060",
"description": "",
"name": "Release 7.0.2",
"archived": false,
"released": true,
"releaseDate": "2018-02-09"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2018-01-17T16:47:07.000+0000",
"created": "2017-11-13T11:40:13.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"IOS",
"Sliding",
"Toolbar",
"Window",
"iPhoneX",
"merge-7.0.2"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2018-01-24T23:05:23.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": "When opening Windows in a NavigationWindow the toolbar on The window is animated sliding in from the bottom. Event the first window in the NavigationWindow slides in. Toolbars should not slide in when opening windows. When doing the same in Mail the toolbar does not slide in from the button, it just follows the window.\r\n\r\nAm I missing something? Is there some way to avoid all this sliding in? \r\n\r\nI have added a test case showing the sliding in of toolbars :) \r\n\r\nThanks",
"attachment": [
{
"id": "63582",
"filename": "iPhoneToolbarTest2.zip",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2017-11-13T11:33:31.000+0000",
"size": 8648644,
"mimeType": "application/zip"
},
{
"id": "63586",
"filename": "Screen Shot 2017-11-14 at 07.01.54.png",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2017-11-14T06:02:13.000+0000",
"size": 28829,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "iOS: Window toolbar animates when opening window",
"creator": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"subtasks": [],
"reporter": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"environment": "IOS iPhone X",
"comment": {
"comments": [
{
"id": "430549",
"author": {
"name": "sdarda",
"key": "sdarda",
"displayName": "Sharif AbuDarda",
"active": false,
"timeZone": "Asia/Dhaka"
},
"body": "Hello, I tested your sample app. I am not sure what seems to be the issue here! Opening window is sliding from the right to left for me and toolbar at the bottom also slides from the right to left. What seems to be the issue here? Please elaborate. Thanks.",
"updateAuthor": {
"name": "sdarda",
"key": "sdarda",
"displayName": "Sharif AbuDarda",
"active": false,
"timeZone": "Asia/Dhaka"
},
"created": "2017-11-13T22:08:20.000+0000",
"updated": "2017-11-13T22:08:20.000+0000"
},
{
"id": "430578",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"body": "Hi Sharif..\r\nI'm sorry it seems like it only happens on iPhone X I have added a screenshot ...",
"updateAuthor": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2017-11-14T06:03:09.000+0000",
"updated": "2017-11-14T06:03:09.000+0000"
},
{
"id": "430595",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "We don't reposition the toolbar manually, so this might either be a Simulator- or iOS-bug. Did you get in touch with Apple to report this issue so far? We reported quite a few tickets to them so far, with success (like with TIMOB-25269). Let us know, thanks!",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2017-11-14T17:22:02.000+0000",
"updated": "2017-11-14T17:22:02.000+0000"
},
{
"id": "430994",
"author": {
"name": "sdarda",
"key": "sdarda",
"displayName": "Sharif AbuDarda",
"active": false,
"timeZone": "Asia/Dhaka"
},
"body": "Hello [~thomas.neerup@eg.dk], As Hans mentioned this might be iOS-bug. Did you try to get in touch with them?",
"updateAuthor": {
"name": "sdarda",
"key": "sdarda",
"displayName": "Sharif AbuDarda",
"active": false,
"timeZone": "Asia/Dhaka"
},
"created": "2017-11-19T20:55:34.000+0000",
"updated": "2017-11-19T20:55:34.000+0000"
},
{
"id": "431009",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"body": "Hi Sharif..\r\nNo I did not contact Apple. I would rather not be the man in the middle when I have no clue to how Appcelerator uses the native api's.",
"updateAuthor": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2017-11-20T08:27:27.000+0000",
"updated": "2017-11-20T08:27:27.000+0000"
},
{
"id": "431427",
"author": {
"name": "mrahman",
"key": "mrahman",
"displayName": "Mostafizur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"body": "[~thomas.neerup@eg.dk],\r\nThanks for your feedback. Hyperloop gives you direct access to the native APIs. Please follow the [link|https://docs.appcelerator.com/platform/latest/#!/guide/Hyperloop]. Hope this helps.\r\n\r\nBest",
"updateAuthor": {
"name": "mrahman",
"key": "mrahman",
"displayName": "Mostafizur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"created": "2017-11-29T05:37:38.000+0000",
"updated": "2017-11-29T05:37:38.000+0000"
},
{
"id": "431433",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "[~thomas.neerup@eg.dk] No worries, we are taking care of it! I'll try to reproduce it on a native project and file an issue with Apple if it also occurs there. ",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2017-11-29T07:51:29.000+0000",
"updated": "2017-11-29T07:51:29.000+0000"
},
{
"id": "432597",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "Moving to TIMOB for closer investigation and comparison with native projects.",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2017-12-30T09:49:05.000+0000",
"updated": "2017-12-30T09:49:05.000+0000"
},
{
"id": "432622",
"author": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "[~thomas.neerup@eg.dk] Can you update index.xml and window.xml with following code and see if this solves your problem -\r\n\r\nindex.xml -\r\n\r\n{code:java}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n \r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n \r\n\t\t\t\r\n\t\t\r\n\t>\r\n\r\n\r\n{code}\r\n \r\n\r\nwindow.xml -\r\n\r\n\r\n{code:java}\r\n\r\n\t\r\n \r\n \r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n \r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nYou can see doc http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Toolbar. Thanks!",
"updateAuthor": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-02T09:13:46.000+0000",
"updated": "2018-01-02T09:13:46.000+0000"
},
{
"id": "432656",
"author": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "PR : https://github.com/appcelerator/titanium_mobile/pull/9698\r\n\r\nTest Case -\r\n\r\n{code:java}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n toolbarSettings: {\r\n translucent: false,\r\n animated: false,\r\n barColor: 'red'\r\n }\r\n});\r\n\r\nvar navWindow = Titanium.UI.iOS.createNavigationWindow({\r\n backgroundColor: 'white',\r\n window: win1\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Open Next Window'\r\n});\r\nbtn.addEventListener('click', function() {\r\n navWindow.openWindow(getWindow(), {animated:true});\r\n});\r\nwin1.add(btn);\r\n\r\nvar button1 = Ti.UI.createButton({\r\n title: 'Button 1'\r\n});\r\nvar button2 = Ti.UI.createButton({\r\n title: 'Button 2'\r\n});\r\nwin1.setToolbar([button1, button2]);\r\n\r\nnavWindow.open();\r\n\r\nfunction getWindow() {\r\n var win2 = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n toolbarSettings: {\r\n translucent: false,\r\n animated: false,\r\n barColor: 'red'\r\n }\r\n });\r\n\r\n var close = Ti.UI.createButton({\r\n title: 'Close'\r\n });\r\n close.addEventListener('click', function() {\r\n win2.close();\r\n });\r\n win2.add(close);\r\n\r\n var button3 = Ti.UI.createButton({\r\n title: 'Button 3'\r\n });\r\n var button4 = Ti.UI.createButton({\r\n title: 'Button 4'\r\n });\r\n win2.setToolbar([button3, button4]);\r\n return win2;\r\n}\r\n{code}",
"updateAuthor": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-03T04:32:24.000+0000",
"updated": "2018-01-03T04:32:24.000+0000"
},
{
"id": "432678",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"body": "Hi Vijay Singh \r\nI have tried using the Toolbar instead of the WindowToolbar, and it semi works, the toolbar does not animate but I do not get the native look of the toolbar being extra tall on the iPhoneX. \r\n",
"updateAuthor": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2018-01-03T11:24:36.000+0000",
"updated": "2018-01-03T11:24:36.000+0000"
},
{
"id": "432683",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "[~thomas.neerup@eg.dk] I did the code-review for this ticket and tested it. Let me share a video I've just made that looked fine to me (iPhone X based): https://www.dropbox.com/s/n6haj1x8jfpn5va/iphone-x-toolbar.mov?dl=0",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-01-03T12:27:31.000+0000",
"updated": "2018-01-03T12:27:31.000+0000"
},
{
"id": "432684",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"body": "Hi Hans... \r\nThe video shows the bug perfectly... \r\nThe menu animates from the bottom up at the same time slides in from the side... \r\nThat is not the intended animation... It should only slide in from the side... Like in the mail Mail app. when opening a mail . .",
"updateAuthor": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2018-01-03T12:32:01.000+0000",
"updated": "2018-01-03T12:32:01.000+0000"
},
{
"id": "432685",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "Hey Thomas! I was on the wrong branch / wrong video. It seems fine here: https://www.dropbox.com/s/i7tc74w35bqfkpg/iphone-x-toolbar-2.mov?dl=0\r\n\r\nHow did you patch your local source? The PR is not merged so far, so unless you patched it manually in {{~/Library/Application Support}}, you either need to do that or wait for the 7.1.0 release.",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-01-03T14:30:55.000+0000",
"updated": "2018-01-03T14:32:28.000+0000"
},
{
"id": "432686",
"author": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"body": "Hi Hans...\r\nI'll take your word for it...\r\nI'll wait for 7.1.0 ",
"updateAuthor": {
"name": "thomas.neerup@eg.dk",
"key": "thomas.neerup@eg.dk",
"displayName": "Thomas Neerup",
"active": true,
"timeZone": "Europe/Copenhagen"
},
"created": "2018-01-03T14:35:06.000+0000",
"updated": "2018-01-03T14:35:06.000+0000"
},
{
"id": "432687",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "I'd love to see if it works for you already. Basically, go to:\r\n{code}\r\n~/Library/Application Support/Titanium/mobilesdk/osx/7.0.1.GA/iphone/Classes/TiUIWindowProxy.m\r\n{code}\r\nremove line 945:\r\n{code}\r\n[[controller navigationController] setToolbarHidden:!hasToolbar animated:YES];\r\n{code}\r\nand re-insert it after\r\n{code}\r\nSETPROPOBJ(@\"toolbar\", setToolbar);\r\n{code}",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2018-01-03T15:03:02.000+0000",
"updated": "2018-01-03T15:03:56.000+0000"
},
{
"id": "432936",
"author": {
"name": "emerriman",
"key": "emerriman",
"displayName": "Eric Merriman ",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "[~vijaysingh] Please back port to 7.0.2. Thanks!",
"updateAuthor": {
"name": "emerriman",
"key": "emerriman",
"displayName": "Eric Merriman ",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-09T22:52:02.000+0000",
"updated": "2018-01-09T22:52:02.000+0000"
},
{
"id": "432950",
"author": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "PR (7_0_X) : https://github.com/appcelerator/titanium_mobile/pull/9713",
"updateAuthor": {
"name": "vijaysingh",
"key": "vijaysingh",
"displayName": "Vijay Singh",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-10T04:25:57.000+0000",
"updated": "2018-01-10T04:25:57.000+0000"
},
{
"id": "433056",
"author": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Passed FR.",
"updateAuthor": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-12T00:09:31.000+0000",
"updated": "2018-01-12T00:09:31.000+0000"
},
{
"id": "433627",
"author": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Verified fix is found in:\r\nSDK 7.0.2.v20180124113923\r\nSDK 7.1.0.v20180124115505",
"updateAuthor": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2018-01-24T23:05:23.000+0000",
"updated": "2018-01-24T23:05:23.000+0000"
}
],
"maxResults": 22,
"total": 22,
"startAt": 0
}
}
}