{
"id": "173800",
"key": "TIMOB-27190",
"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": "20832",
"name": "Release 8.3.0",
"archived": false,
"released": true,
"releaseDate": "2019-11-25"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2019-10-04T10:09:33.000+0000",
"created": "2019-06-23T08:09:54.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "ybanev",
"key": "ybanev",
"displayName": "Yordan Banev",
"active": true,
"timeZone": "Europe/Athens"
},
"updated": "2019-10-04T10:09:33.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": "10202",
"name": "Android",
"description": "Android Platform"
}
],
"description": "Recently we added the support to show the Android back-button or home-button as a part of the NavigationWindow. It automatically closes its window.\r\n\r\nHowever, when we press the back-button, sometimes it first hides itself and then closes the window. This is leaving an improper visual effect where the back-button is hidden first and after few milli-seconds, the window is closed.\r\n\r\n{code:java}\r\n---- index.xml ----\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n---- index.js ----\r\nfunction openWindow() {\r\n $.nav.openWindow(Alloy.createController('/window_1').getView());\r\n}\r\n\r\n--- window_1.xml ---\r\n\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\n\r\nHowever, when we add the back-button using *ActionBar* as below, it works fine and closes the entire window altogether and hence doesn't create any lacks.\r\n\r\n{code:java}\r\n---- window_2.xml ----\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nWatch the attached video and notice the lag when the back-button hides itself and the window is closed later. In this duration, the title of the window is also shift to left once the back-button is closed first.\r\n",
"attachment": [
{
"id": "66719",
"filename": "Back_button.mp4",
"author": {
"name": "prashant_saini",
"key": "prashant_saini",
"displayName": "Prashant Saini",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2019-06-23T08:09:09.000+0000",
"size": 2411840,
"mimeType": "video/mp4"
}
],
"flagged": false,
"summary": "Android NavigationWindow back-button UI issue on close",
"creator": {
"name": "prashant_saini",
"key": "prashant_saini",
"displayName": "Prashant Saini",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "prashant_saini",
"key": "prashant_saini",
"displayName": "Prashant Saini",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "SDK - 8.0.2.GA\r\nAndroid 9",
"comment": {
"comments": [
{
"id": "449392",
"author": {
"name": "ybanev",
"key": "ybanev",
"displayName": "Yordan Banev",
"active": true,
"timeZone": "Europe/Athens"
},
"body": "I was able to reproduce the issue.\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/11003",
"updateAuthor": {
"name": "ybanev",
"key": "ybanev",
"displayName": "Yordan Banev",
"active": true,
"timeZone": "Europe/Athens"
},
"created": "2019-06-27T12:29:29.000+0000",
"updated": "2019-06-27T12:57:47.000+0000"
},
{
"id": "450573",
"author": {
"name": "ybanev",
"key": "ybanev",
"displayName": "Yordan Banev",
"active": true,
"timeZone": "Europe/Athens"
},
"body": "PR (8_3_X): https://github.com/appcelerator/titanium_mobile/pull/11157",
"updateAuthor": {
"name": "ybanev",
"key": "ybanev",
"displayName": "Yordan Banev",
"active": true,
"timeZone": "Europe/Athens"
},
"created": "2019-08-19T14:28:30.000+0000",
"updated": "2019-08-19T14:28:30.000+0000"
},
{
"id": "450594",
"author": {
"name": "ssekhri",
"key": "ssekhri",
"displayName": "Satyam Sekhri",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "FR Passed.\r\nNo flicker when closing the Nav window using the Nav window back button or android's back button.",
"updateAuthor": {
"name": "ssekhri",
"key": "ssekhri",
"displayName": "Satyam Sekhri",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2019-08-19T23:18:30.000+0000",
"updated": "2019-08-19T23:18:30.000+0000"
},
{
"id": "451226",
"author": {
"name": "cwilliams",
"key": "cwilliams",
"displayName": "Christopher Williams",
"active": true,
"timeZone": "America/New_York"
},
"body": "merged to master. 8_3_x PR was closed as master is now 8.3.0 target.",
"updateAuthor": {
"name": "cwilliams",
"key": "cwilliams",
"displayName": "Christopher Williams",
"active": true,
"timeZone": "America/New_York"
},
"created": "2019-09-09T18:28:50.000+0000",
"updated": "2019-09-09T18:28:50.000+0000"
},
{
"id": "451843",
"author": {
"name": "eboateng",
"key": "eboateng",
"displayName": "Ebenezer Boateng",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Bug fixed in SDK version 8.3.0.v20191003144543",
"updateAuthor": {
"name": "eboateng",
"key": "eboateng",
"displayName": "Ebenezer Boateng",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2019-10-04T10:09:20.000+0000",
"updated": "2019-10-04T10:09:20.000+0000"
}
],
"maxResults": 6,
"total": 6,
"startAt": 0
}
}
}