{ "id": "98989", "key": "TIMOB-10381", "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": "15547", "description": "2013 Sprint 14", "name": "2013 Sprint 14", "archived": true, "released": true, "releaseDate": "2013-07-15" }, { "id": "15548", "description": "2013 Sprint 14 API", "name": "2013 Sprint 14 API", "archived": true, "released": true, "releaseDate": "2013-07-15" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-07-09T22:37:28.000+0000", "created": "2012-08-10T03:57:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43: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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "If create a View, inside it 3 other views and position them by ZIndex, add the view to the window Z index is not correctly behaving.\r\n\r\nFor test open KS->Base Ui->Views->ZIndex (file Resources\\ui\\common\\baseui\\view_zIndex.js) views 1-3 are not positioned by zIndex correctly.\r\n\r\nAdding views directly to window work correct.", "attachment": [], "flagged": false, "summary": "BlackBerry: zIndex bug for View", "creator": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "BlackBerry simulator", "comment": { "comments": [ { "id": "214565", "author": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "getZIndex() returns actual values, but on the screen they are not ordered as higher zIndex on the top.", "updateAuthor": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T09:50:29.000+0000", "updated": "2012-08-15T09:50:29.000+0000" }, { "id": "261179", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce. \r\n\r\nTest code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#ccc'\r\n});\r\n\r\nvar zIndex = 1;\r\n\r\nvar v1 = Ti.UI.createView({\r\n\ttop: 10,\r\n\tleft: 10,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: 'green'\r\n});\r\n\r\nwin.add(v1);\r\n\r\nvar v2 = Ti.UI.createImageView({\r\n\ttop: 40,\r\n\tleft: 40,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: 'red'\r\n});\r\n\r\nwin.add(v2);\r\n\r\nvar v3 = Ti.UI.createView({\r\n\ttop: 60,\r\n\tleft: 60,\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundColor: 'yellow'\r\n});\r\n\r\nwin.add(v3);\r\n\r\nv1.addEventListener('click', function(){\r\n\tzIndex++;\r\n\tv1.zIndex = zIndex;\r\n});\r\n\r\nv2.addEventListener('click', function(){\r\n\tzIndex++;\r\n\tv2.zIndex = zIndex;\r\n});\r\n\r\nv3.addEventListener('click', function(){\r\n\tzIndex++;\r\n\tv3.zIndex = zIndex;\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-09T22:37:28.000+0000", "updated": "2013-07-09T22:37:28.000+0000" }, { "id": "266044", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix by the code provided by pedro & it is working as expected.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308082014\r\nTi SDK : 3.1.2.v20130809141556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T20:52:51.000+0000", "updated": "2013-08-12T20:52:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }