{ "id": "124361", "key": "AC-1917", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-01-06T06:49:19.000+0000", "created": "2014-01-03T18:00:17.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "34083", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "123546", "key": "TIMOB-15967", "fields": { "summary": "iOS: keyboardToolbar fails to disappear", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:50.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The keyboardToolbar remains visible after keyboard is closed. This happens when a keyboard is shown in a window that is closed without the field being blurred. \r\n\r\n*Steps to Reproduce*: \r\n# Run app.js code below in iOS simulator (7.0+) using SDK 3.2.0 GA \r\n# Click 'Open Blue Window' button\r\n# Click inside the 'toolbar' textfield to open keyboard\r\n# With the keyboard open click the window's back button to return to the 'Red Window'\r\n# Click inside the plain textfield \r\n# Notice that the keyboard toolbar from the other textfield has returned\r\n# Click 'return' button on keyboard to close the keyboard\r\n\r\n*Expected Results:* The keyboardToolbar is hidden when window is closed and does not appear on susbequent textfields in other windows\r\n*Observed Results:* The keyboard Toolbar remains visible at the bottom of the screen after keyboard has been closed (screenshot attached)\r\n\r\n\r\n{code:title=app.js}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\nvar textfield1 = Ti.UI.createTextField({\r\n value : 'plain',\r\n right: 0\r\n});\r\nwin2.add(textfield1);\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window',\r\n left: 0\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Close Blue Window',\r\n left: 0\r\n \r\n});\r\nbutton2.addEventListener('click', function(){\r\n win1.closeWindow(win3, {animated:true});\r\n});\r\nvar done = Titanium.UI.createButton({\r\n title : 'Done',\r\n style : Titanium.UI.iPhone.SystemButtonStyle.DONE,\r\n});\r\nvar textfield2 = Ti.UI.createTextField({\r\n value : 'toolbar',\r\n keyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,\r\n keyboardToolbar : [done],\r\n right : 0,\r\n});\r\nwin3.add(textfield2);\r\nwin3.add(button2);\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "44917", "filename": "iOS Simulator Screen shot Jan 3, 2014, 12.53.18 PM.png", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2014-01-03T18:00:17.000+0000", "size": 31852, "mimeType": "image/png" } ], "flagged": false, "summary": "keyboardToolbar remains on screen after keyboard closed", "creator": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "environment": "iOS (all)\r\nSDK 3.2.0 GA", "comment": { "comments": [ { "id": "286597", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Most likely a duplicate of (or at least related to) TIMOB-15967", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2014-01-03T18:09:03.000+0000", "updated": "2014-01-03T18:09:03.000+0000" }, { "id": "286602", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2014-01-03T18:19:34.000+0000", "updated": "2014-01-03T18:19:34.000+0000" }, { "id": "286734", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as a duplicate of TIMOB-15967. Please track that ticket for further updates.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-06T06:49:19.000+0000", "updated": "2014-01-06T06:49:19.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }