{ "id": "129987", "key": "TIMOB-16919", "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": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-07-12T06:05:12.000+0000", "created": "2014-05-05T20:39:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "z-index" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:20:35.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": "When altering the zIndex of views on iOS, the stack order is placing the most recently updated view on top, rather than the view with greatest zIndex. This works properly when tested on Android. The test case as provided by the customer is as follows: \r\nAt creation, set zIndex on views as follows: \r\n\r\nA: 10 \r\nB: 20 \r\nC: 100 \r\nD: 200 \r\nE: 300 \r\nF: 400 \r\n\r\nAt runtime, I want to move C to 1100 and A to 1000. If I perform the steps in that order, A always appears in front of all of the other views, even though logging the zIndex of each view shows that the value is set properly on each (where C should be on top of A). \r\n\r\nThe work-around is to set the zIndex of A to 1000 before setting the zIndex of C to 1100. In other words, I seem to be able to set the zIndex of an object at runtime as long as I'm setting it to be the frontmost, but I can't effectively \"insert\" a view into the stack order.", "attachment": [ { "id": "47850", "filename": "app.js", "author": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T20:39:33.000+0000", "size": 2231, "mimeType": "text/javascript" }, { "id": "47852", "filename": "Screenshot 2014-05-05 13.32.19.png", "author": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T20:39:33.000+0000", "size": 212672, "mimeType": "image/png" }, { "id": "47851", "filename": "Screenshot 2014-05-05 13.36.22.png", "author": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T20:39:33.000+0000", "size": 224730, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Z-Index is overridden by most recent change for Views", "creator": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jrhinehart", "key": "jrhinehart", "displayName": "Joshua Rhinehart", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK: 3.2.2 GA\r\niOS : 7.1", "comment": { "comments": [ { "id": "313620", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-07-12T06:05:12.000+0000", "updated": "2014-07-12T06:05:12.000+0000" }, { "id": "414087", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:20:35.000+0000", "updated": "2017-03-20T22:20:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }