{ "id": "171874", "key": "TIMOB-26178", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2019-06-12T02:13:56.000+0000", "created": "2018-07-03T00:08:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TextArea", "TextField", "focus", "parity" ], "versions": [], "issuelinks": [ { "id": "56664", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "164491", "key": "TIMOB-24138", "fields": { "summary": "Android: TextField/TextArea should not receive focus by default when a window is opened", "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": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-06-25T11:55:51.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h2. Behavior\r\n\r\nTextField should not receive focus right after Windows is opened to match iOS's behavior.\r\n\r\nh2. Test case\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow();\r\nvar textField = Ti.UI.createTextField({\r\n\tvalue: \"Focus Test\",\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.SIZE,\r\n});\r\ntextField.addEventListener(\"focus\", function(e) {\r\n\tTi.API.info(\"@@@ TextField 'focus' event received. bubbles: \" + e.bubbles);\r\n});\r\ntextField.addEventListener(\"blur\", function(e) {\r\n\tTi.API.info(\"@@@ TextField 'blur' event received. bubbles: \" + e.bubbles);\r\n});\r\nwindow.add(textField);\r\nwindow.open();\r\n{code}\r\n\r\nExpected: No focus log should be shown after app launched and TextField should not have focus.\r\n", "attachment": [], "flagged": false, "summary": "Windows: TextField/TextArea should not receive focus by default when a window is opened", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "goyalpankaj054@gmail.com", "key": "goyalpankaj054@gmail.com", "displayName": "Pankaj Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 }, { "id": 1146, "state": "closed", "name": "2019 Sprint 13", "startDate": "2019-06-18T06:36:49.723Z", "endDate": "2019-07-01T06:36:00.000Z", "completeDate": "2019-07-01T16:45:24.126Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "449018", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this as \"Won't Fix\" because this is a platform component behavior. On Windows Store app, we can see first text area gets focus when new Window is opened and \"focus\" event is fired for the component then. I think we should respect this platform UI user experience otherwise platform users get confused.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-12T02:13:57.000+0000", "updated": "2019-06-12T02:13:57.000+0000" }, { "id": "449325", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket it as it is marked as won't do. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-25T11:55:44.000+0000", "updated": "2019-06-25T11:55:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }