{ "id": "86338", "key": "TIMOB-7615", "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": "12096", "description": "", "name": "Sprint 2012-04", "archived": true, "released": true, "releaseDate": "2012-02-26" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T11:13:32.000+0000", "created": "2012-02-10T13:39:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-15T10:36:12.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": "*Here is the code for app.js:*\r\n{code}\r\nvar test = require('win2');\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\tzIndex: 1,\r\n\tbackgroundColor:'red',\r\n});\r\n\r\nwin1.addEventListener('click', function(){\r\n\tvar win2 = test.anotherWin();\r\n\twin2.open();\r\n});\r\n\r\nwin1.open(); \r\n{code}\r\n\r\n\r\n*Here is the code for win2.js:*\r\n{code}\r\nexports.anotherWin = function(){\r\n\tvar win = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'yellow',\r\n\t\tzIndex: 2\r\n\t});\r\n\t\r\n\treturn win;\r\n}\r\n{code}\r\n\r\n\r\n*What is supposed to happen:*\r\nWhen you tap on the red window once, it should display the yellow window.\r\n\r\n*What currently happens:*\r\nWhen you tap the red window once, nothing happens. When you tap it again, the yellow window is displayed.\r\n\r\n*Notes:*\r\nWithout any zIndex, it seems to work fine. However with the zIndex, this issue occurs. \r\n\r\nAndroid \r\nTiSDK 1.8.1\r\n", "attachment": [], "flagged": false, "summary": "Android: zIndex on Ti.UI.Window doesn't work properly", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "182812", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Similar zIndex issue seems to exists for other components too, such as buttons, picker etc..", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-10T15:59:29.000+0000", "updated": "2012-02-10T15:59:29.000+0000" }, { "id": "183203", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 1.0.9.201202131024\r\nTi Mob SDK 1.8.2.v20120214163156\r\nOSX Lion 10.7.3\r\nNexus S OS 2.3.6\r\n\r\nVerified that the expected behavior is shown of the yellow view being shown after pressing the red view", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-15T10:36:12.000+0000", "updated": "2012-02-15T10:36:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }