{ "id": "90755", "key": "TIMOB-8860", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-12T20:43:13.000+0000", "created": "2012-04-23T12:08:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "16814", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "86456", "key": "TIMOB-8637", "fields": { "summary": "Android: auto-focuses and shows keyboard for first textfield on Samsung Galaxy Tab on window open or textfield create after window open", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-12T20:43:13.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": "If the keyboard is up and a new window is opened, the keyboard fails to hide.\r\n\r\nThis does not occur on iOS. Marking as a parity issue.\r\n\r\nThis is not a regression.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run code.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'blue',\r\n\torientationModes:[Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT]\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tbackgroundColor:'white',\r\n\tvalue:'TextField',\r\n\ttop:'40%',\r\n\tbottom:'40%',\r\n\tleft:'10%',\r\n\tright:'10%',\r\n\ttextAlign:Ti.UI.TEXT_ALIGNMENT_CENTER\r\n});\r\n\r\nwin.add(textField);\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle:'Open New Window',\r\n\tbackgroundColor:'white',\r\n\ttop:'10%',\r\n\tleft:'10%',\r\n\tright:'10%',\r\n\theight:'20%',\r\n\ttextAlign:Ti.UI.TEXT_ALIGNMENT_CENTER\r\n});\r\n\r\nvar subWin = Ti.UI.createWindow({\r\n\tbackgroundColor:'green'\r\n});\r\n\r\nvar subButton = Ti.UI.createButton({\r\n\ttitle:'Close',\r\n\ttop:'40%',\r\n\tbottom:'40%',\r\n\tleft:'20%',\r\n\tright:'20%'\r\n});\r\n\r\nbutton.addEventListener('click', function(){\r\n\tsubWin.open();\r\n});\r\n\r\nwin.add(button);\r\n\r\nsubWin.add(subButton);\r\n\r\nsubButton.addEventListener('click', function(){\r\n\tsubWin.close();\r\n});\r\n\r\nwin.open();\r\n{code}\r\n\r\n2. Click on text field to bring up keyboard.\r\n3. Press 'open window' to open a new window.\r\n\r\nExpected Result:\r\n\r\nNew window should open, keyboard should hide.\r\n\r\nActual Result:\r\n\r\nNew window opens, keyboard stays up.", "attachment": [], "flagged": false, "summary": "Android: Window: Opening new window when keyboard is up fails to hide keyboard", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.1.GA2, 2.0.2.v20120418121806\r\nRuntime: V8, Rhino\r\nStudio: 2.0.2.201204201120\r\nOS: Snow Leopard\r\nDevices Tested: Nexus One 2.2.2, Droid3 2.3.4, Galaxy Tab 10.1 3.2, Nexus S 4.0.4", "comment": { "comments": [ { "id": "239966", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue reproduces with sdk 3.0.2 and 3.1.0 .", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T07:08:30.000+0000", "updated": "2013-02-27T07:08:30.000+0000" }, { "id": "424028", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verifying that has been fixed as I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-12T20:43:13.000+0000", "updated": "2017-07-12T20:43:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }