{ "id": "99481", "key": "TIMOB-10596", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-05T13:24:35.000+0000", "created": "2012-08-20T23:31:51.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "community" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-27T20:17:31.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. Problem\r\n\r\nIf you create a window and add textfields to it to which a 'change' event handler is attached, when the window opens the textfield 'change' event gets triggered. It's reproducible only on Android.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win1 = Ti.UI.createWindow({\r\n\ttitle: 'Bug'\r\n});\r\n\r\nvar textField1 = Ti.UI.createTextField();\r\nvar textField2 = Ti.UI.createTextField();\r\n\r\nwin1.add(textField1);\r\nwin1.add(textField2);\r\n\r\ntextField1.addEventListener('change', function() {\r\n\talert('field 1 changed');\r\n});\r\ntextField2.addEventListener('change', function() {\r\n\talert('field 2 changed');\r\n});\r\n\r\nwin1.open();\r\n{code}\r\n\r\nh2. Discussions\r\n\r\nhttp://developer.appcelerator.com/question/141228/android-textfield-change-event-firing-when-its-parent-window-opens", "attachment": [], "flagged": false, "summary": "Android: Textfield change event gets triggered when window opens.", "creator": { "name": "lucassp", "key": "lucassp", "displayName": "Lucian Pacurar", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "lucassp", "key": "lucassp", "displayName": "Lucian Pacurar", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "MacOS 10.8, Titanium SDK 2.1.1.GA.0fd84a2, Android Emulator 4.1", "comment": { "comments": [ { "id": "240703", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\n\r\nAndroid Emulator: Android SDK version: 2.2\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T13:24:35.000+0000", "updated": "2013-03-05T13:24:35.000+0000" }, { "id": "415918", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with 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-27T20:17:31.000+0000", "updated": "2017-03-27T20:17:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }