{ "id": "89960", "key": "TIMOB-8716", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-12-19T02:20:36.000+0000", "created": "2012-04-13T01:28:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T17:21:24.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": "h2. The problem\r\n\r\n\r\nLet's say that there is a text field in one tab that is focused so that keyboard is showed on the screen. Switching to other tab does not hide keyboard, despite the fact that the tab that we're switching on does not have text field in it.\r\n\r\n\r\nh2. Steps to reproduce\r\n\r\n\r\nTo see this issue, run this example:\r\n\r\n{code}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n title: 'Tab 1',\r\n window: Ti.UI.createWindow()\r\n});\r\n\r\nvar tab2 = Ti.UI.createTab({\r\n title: 'Tab 2',\r\n window: Ti.UI.createWindow()\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n width: 300,\r\n height: 50,\r\n\tkeyboardType : Ti.UI.KEYBOARD_NUMBER_PAD\r\n});\r\n\r\ntab1.window.add(textField);\r\n\r\ntabGroup.addTab(tab1);\r\ntabGroup.addTab(tab2);\r\n\r\ntabGroup.open();\r\n{code}\r\n\r\n\r\nText field in first tab should be autofocused, if it's not, click on it. When keyboard is shown on the screen, click on \"Tab 2\". You should see that keyboard is still up and it has changed its type from numeric to alphanumeric.\r\n\r\n\r\nh2. Expected behavior\r\n\r\n\r\nWhen tab is switched, keyboard should be hidden.", "attachment": [], "flagged": false, "summary": "Android: When switching between tabs, keyboard stays on screen", "creator": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "* Titanium SDK version: 2.1.0 (04/12/12 19:25 818fd67)\r\n* v8\r\n* Android 3.1\r\n* Thinkpad Tablet", "comment": { "comments": [ { "id": "231969", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I cannot reproduce this bug on latest master.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-19T02:20:23.000+0000", "updated": "2012-12-19T02:20:23.000+0000" }, { "id": "416500", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce the issue using the following environment; \r\nPixel (7.1) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.8.1.201612050850 \r\nTi SDK 6.0.3 GA \r\nAppc NPM 4.2.8 \r\nAppc CLI 6.1.0 \r\nTi CLI 5.0.11 \r\nAlloy 1.9.5 \r\nArrow 1.10.1 \r\nXcode 8.2 (8C38) \r\nNode v4.6.0 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T17:21:24.000+0000", "updated": "2017-03-31T17:21:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }