{ "id": "166310", "key": "TIMOB-24431", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-01-02T23:36:00.000+0000", "created": "2017-02-24T12:45:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "order", "windows", "zindex" ], "versions": [], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-02T23:36:00.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "The views do not respect the zIndex imparted but you have depending on the order of creation.\r\n\r\nCarry the sample code where the views are ordered with zIndex in the reverse order of creation, and attach the screen as they appear.\r\n\r\n{noformat}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar view1 = Ti.UI.createView({\r\n\tzIndex: 10,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: '#FF0000',\r\n\tzIndex: 20,\r\n\tleft: 10,\r\n\ttop: 10\r\n});\r\nwin.add(view1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n\tzIndex: 10,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: '#00FF00',\r\n\tzIndex: 10,\r\n\tleft: 20,\r\n\ttop: 20\r\n});\r\nwin.add(view2);\r\n\r\nvar view3 = Ti.UI.createView({\r\n\tzIndex: 10,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: '#0000FF',\r\n\tzIndex: 1,\r\n\tleft: 30,\r\n\ttop: 30\r\n});\r\nwin.add(view3);\r\n\r\n\r\n\r\nwin.open();\r\n\r\n{noformat}\r\n", "attachment": [ { "id": "61720", "filename": "Schermata 2017-02-24 alle 13.44.03.png", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-02-24T12:44:19.000+0000", "size": 28887, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows Phone: Views zIndex not applied", "creator": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "environment": "OS: Windows 10 Pro \r\nEmulator: Mobile Emulator 10.0.14393.0 720p 5 inch 1GB \r\nStudio: 4.8.0.201612050850 \r\nappc 6.1.0 \r\nTitanium SDK 6.1.0.v20170202120400", "comment": { "comments": [ { "id": "444945", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-24239, which is fixed in 6.1.0.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T23:36:00.000+0000", "updated": "2019-01-02T23:36:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }