{ "id": "85650", "key": "TIMOB-7455", "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": "12094", "description": "", "name": "Sprint 2012-02", "archived": true, "released": true, "releaseDate": "2012-01-29" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-09T21:41:29.000+0000", "created": "2012-01-27T14:48:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios012312", "regression" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "14849", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "85526", "key": "TIMOB-7425", "fields": { "summary": "iOS: buttons and text disappearing from navigation bar", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16270", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86311", "key": "TIMOB-8100", "fields": { "summary": "iOS: barImage hides nav buttons after window transition", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-02T12:59:40.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": "**Note this behavior did not occur on iOS devices running 4.3.x or in 1.8.0.1**\r\n\r\nSteps to reproduce:\r\n1. Drop the code below into a new titanium mobile projects app.js\r\n{code}\r\napp.js\r\n{code}\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle: 'Tab 1',\r\n\tbackgroundColor: '#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({\r\n\ticon: 'KS_nav_views.png',\r\n\ttitle: 'Tab 1',\r\n\twindow: win1\r\n});\r\n\r\nvar btn1 = Titanium.UI.createButton({\r\n\tcolor: '#000',\r\n\ttitle: 'Click me',\r\n\tfont: {\r\n\t\tfontSize: 20,\r\n\t\tfontFamily: 'Helvetica Neue'\r\n\t},\r\n\ttextAlign: 'center',\r\n\twidth: 100,\r\n\theight: 50,\r\n\ttop: 100\r\n\r\n});\r\n\r\nwin1.add(btn1);\r\n\r\nbtn1.addEventListener('click', function() {\r\n\tvar win_title = Titanium.UI.createWindow({\r\n\t\ttitle: 'See me?',\r\n\t\tbarImage: 'KS_nav_ui.png',\r\n\t\tbarColor: '#00f',\r\n\t\tbackgroundColor: '#f00'\r\n\t});\r\n\r\n\ttab1.open(win_title);\r\n})\r\n\r\ntabGroup.addTab(tab1);\r\n\r\n// open tab group\r\ntabGroup.open();\r\n{code}\r\n\r\n2. Run the app on an iOS device 5.0+\r\n3. Press the Click me button\r\n\r\nActual result:\r\nThe newly openend window's barColor is transparent and one can see the window's background color, also the bar image is tiled\r\n\r\nExpected result:\r\n*See success.png attached*\r\nThe newly open window's barColor is blue and the bar image is not tiled ", "attachment": [ { "id": "25387", "filename": "success.PNG", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-27T14:48:04.000+0000", "size": 55348, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS : Window/BarImage - iOS 5+ Setting the bar image property on a window causes the windows bar color to become transparent", "creator": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Ti Studio build 1.0.8.201201262211\r\nTi Mob SDK 1.8.1.v20120127113107\r\nOSX Lion\r\niPhone 4S OS 5.0\r\niPhone 4 OS 4.3.5\r\niPad 2 OS 5.0.1\r\niPad 2 OS 4.3.5", "comment": { "comments": [ { "id": "180955", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Regression introduced by TIMOB-7425.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-27T16:24:27.000+0000", "updated": "2012-01-27T16:24:27.000+0000" }, { "id": "180987", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with SDK 1.8.1.v20120127173134, using studio 1.0.8.201201262211 on:\r\niPhone 4 (5.0.1)\r\niPhone 4s (5.0.1)\r\niPad 2 (5.0.1)\r\niPad 1 (5.0.1)\r\n\r\nAlso verified functions as expected on:\r\niPhone 4 (4.3.5)\r\niPad 2 (4.3.5)", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-27T18:39:38.000+0000", "updated": "2012-01-27T18:39:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }