{ "id": "62815", "key": "TIMOB-2183", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:20.000+0000", "created": "2011-04-15T03:12:57.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "ios", "iphone", "regression", "zindex" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:20.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Running on master as of 10/24, zIndex seems broken.

\n

Here's the test case. Pink should be on top.

\n
\nvar window = Ti.UI.createWindow();\nvar view1 = Ti.UI.createView({\n    backgroundColor:'pink',\n    zIndex:20,\n    width:200,\n    height:30,\n    top:10,\n    left:10\n});\n\nvar view2 = Ti.UI.createView({\n    backgroundColor:'blue',\n    zIndex:11,\n    width:200,\n    height:30,\n    top:15,\n    left:15\n});\n\nvar view3 = Ti.UI.createView({\n    backgroundColor:'red',\n    zIndex:12,\n    width:200,\n    height:30,\n    top:20,\n    left:20\n});\n\nwindow.add(view1);\nwindow.add(view2);\nwindow.add(view3);\nwindow.open();\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: zindex not working correctly", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127754", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [483124c7082e31db4e80b3de4739f7eeb703da27])\n[#2183 state:fixed-in-qa] [#775\nstate:fixed-in-qa] [#2092 state:fixed-in-qa] [#1426\nstate:fixed-in-qa] [#1416 state:fixed-in-qa] This time, zIndex is\nfixed for sure! Really now! Honest! \nhttp://github.com/appcelerator/titanium_mobile/commit/483124c7082e3...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:58.000+0000", "updated": "2011-04-15T03:12:58.000+0000" }, { "id": "127755", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.5.0 (12/04/10 08:46 b7b9e78) ipod touch\n4.2.1

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:58.000+0000", "updated": "2011-04-15T03:12:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }