{ "id": "123451", "key": "TIMOB-15917", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15716", "description": "2013 Sprint 25 API", "name": "2013 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-08T17:42:42.000+0000", "created": "2013-12-07T04:50:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.0", "qe-testadded", "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-22T10:56:19.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": "Android: Window: New window does not open in button click\r\nIt works fine on SDK: 3.1.3.GA\r\n\r\nSteps to reproduce:\r\n1. Run the below app.\r\n{code}\r\nvar _window = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar button = Ti.UI.createButton({\r\n\t\t\ttitle : 'Press me'\r\n\t\t});\r\n\r\n\t\tbutton.addEventListener('click', function() {\r\n\r\n\t\t\tvar win = Ti.UI.createWindow({\r\n\t\t\t\tbackgroundColor : 'white',\r\n\t\t\t\tborderColor : 'black',\r\n\t\t\t\tborderWidth : 1,\r\n\t\t\t\twidth : '100%',\r\n\t\t\t\theight : '100%',\r\n\t\t\t\tnavBarHidden : true\r\n\t\t\t});\t\t\t\r\n\t\t\twin.open();\r\n\t\t\t\r\n\t\t});\t\t\r\n\t\t_window.add(button);\r\n\r\n_window.open();\r\n{code}\r\n\r\n2. Click press me\r\n\r\nExpected: \r\nA new window should open\r\n\r\nActual:\r\nA black screen appears", "attachment": [], "flagged": false, "summary": "Android: Window: New window does not open in button click", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested on:\r\nDevice : Google Nexus 7, Android Version: 4.3\r\nSDK: 3.2.0.v20131206182444\r\nCLI version : 3.2.0-beta\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.0-beta\r\nACS: 1.0.10\r\nAppcelerator Studio, build: 3.2.0.201312052211\r\ntitanium-code-processor: 1.1.0-beta\r\nXCode : 5.0.2", "comment": { "comments": [ { "id": "283078", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I could reproduce the issue using the latest 3.2.0.v20131206182444 SDK. It might be related to heavyweight windows.\n \nUsing the property 'true' & with navBarHidden property in the code set to false (as it would make it heavyweight) the window opens fine.\n\nEnvironment:\nAppcel Studio : 3.2.0.201312052211\nTi SDK : 3.2.0.v20131206182444\nMac OSX : 10.8.5\nAlloy : 1.3.0-beta\nCLI - 3.2.0-beta\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-07T22:56:43.000+0000", "updated": "2013-12-07T22:56:43.000+0000" }, { "id": "283109", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/5093\n3_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/5094", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-08T09:20:44.000+0000", "updated": "2013-12-08T09:20:44.000+0000" }, { "id": "283168", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified with Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312081316\r\nSDK:3.2.0.v20131208204843\r\nalloy: 1.3.0-beta\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-beta\t\r\ntitanium-code-processor: 1.1.0-beta\r\nXcode: 5.0.2\r\nDevices: Google Nexus7(v4.2.1) and iPhone5 Version:7.0.4\r\n\r\nNew window is now open successfully on the button click. Hence closing the issue.\r\n", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-09T06:20:43.000+0000", "updated": "2013-12-09T06:20:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }