{ "id": "97996", "key": "TIMOB-10136", "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": "13574", "description": "Sprint 2012-15 Core", "name": "Sprint 2012-15 Core", "archived": true, "released": true, "releaseDate": "2012-07-30" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15578", "description": "2013 Sprint 16 API", "name": "2013 Sprint 16 API", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-08T00:06:18.000+0000", "created": "2012-07-25T13:38:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout", "module_window", "qe-3.1.2", "qe-review", "qe-testadded", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T06:20: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": "{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#000',\r\n layout: 'vertical',\r\n navBarHidden: true\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n\twidth:200,\r\n\theight: 200\r\n});\r\n \r\n win.add(view);\r\n view.addEventListener('postlayout', function(){\r\n \t Ti.API.info('View postlayout');\r\n\r\n });\r\nwin.addEventListener('postlayout', function(e) {\r\n Ti.API.info('Window postlayout');\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\nExpected:\r\nEach layout should be printed out two only. (The fact that it prints out twice instead of once is another bug)\r\nI/TiAPI (30816): View postlayout\r\nI/TiAPI (30816): Window postlayout\r\nI/TiAPI (30816): View postlayout\r\nI/TiAPI (30816): Window postlayout\r\n\r\nActual:\r\nThe window event gets printed out two additional times.\r\nI/TiAPI (30996): View postlayout\r\nI/TiAPI (30996): Window postlayout\r\nI/TiAPI (30996): Window postlayout\r\nI/TiAPI (30996): View postlayout\r\nI/TiAPI (30996): Window postlayout\r\nI/TiAPI (30996): Window postlayout", "attachment": [], "flagged": false, "summary": "Android: Postlayout event should not bubble up to parent", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209391", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Ready: https://github.com/appcelerator/titanium_mobile/pull/2640\r\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T13:45:13.000+0000", "updated": "2012-07-25T13:45:13.000+0000" }, { "id": "209673", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR https://github.com/appcelerator/titanium_mobile/pull/2640 against master", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T11:59:45.000+0000", "updated": "2012-07-26T11:59:45.000+0000" }, { "id": "214209", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nTested and verified on:\r\nTitanium Studio, build: 2.1.1.201208091713\r\nTitanium SDK, build: 2.2.0.v20120810194112\r\nDevices: Nexus 7 tab (4.1), HTC Evo (4.0.3)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T16:11:02.000+0000", "updated": "2012-08-13T16:11:02.000+0000" }, { "id": "217369", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-04T02:59:27.000+0000", "updated": "2012-09-04T02:59:27.000+0000" }, { "id": "265305", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a regression. This issue is not reproducible in SDK 3.1.1.GA build but its reproducible in latest 3.1.2.v20130806104555 build. verified in below environment - \r\nAppcelerator Studio: 3.1.2.201308021524\r\nTitanium SDK: 3.1.2.v20130806104555\r\nACS: 1.0.5\r\nAlloy: 1.2.0-alpha6\r\nNPM: 1.3.2\r\nTitanium: 3.1.2-alpha\r\nTitanium-code-processor: 1.0.2-alpha\r\nAndroid SDk Tools: 22.0.4\r\nDevice - Nexus7 (Android v4.2.1)\r\n\r\nHence reopening this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-07T08:20:56.000+0000", "updated": "2013-08-07T08:20:56.000+0000" }, { "id": "265478", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4556\r\nFor FR, please run the above test case, KS and Anvil(should be 370 passed / 36 failed).", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-07T22:39:44.000+0000", "updated": "2013-08-07T22:42:23.000+0000" }, { "id": "265482", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/4557", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-07T22:55:15.000+0000", "updated": "2013-08-07T22:55:15.000+0000" }, { "id": "265539", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nStudio: 3.1.2.201308071912\r\nSDK: 3.1.2.v20130807171139\r\nacs:1.0.5\r\nalloy:1.2.0-alpha6\r\ntitanium:3.1.2-alpha\r\ntitanium-code-processor:1.0.2-alpha\r\nOS: OSX 10.8.4\r\nDevice: nexus 7(v4.3)\r\nXcode:4.6.3\r\n\r\nClosing as Fixed.\r\nPostLayout working as expected.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-08T10:40:35.000+0000", "updated": "2013-08-08T10:40:35.000+0000" }, { "id": "283504", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4967\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T06:20:24.000+0000", "updated": "2013-12-10T06:20:24.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }