{ "id": "110537", "key": "TIMOB-12932", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "93396", "key": "TIMOB-9605", "fields": { "summary": "BlackBerry: Implement important Titanium.UI.Window functionality", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15097", "description": "2013 Sprint 05 BB", "name": "2013 Sprint 05 BB", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-06T08:26:11.000+0000", "created": "2013-03-02T06:46:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T00:48:46.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": "Support setting a title on a window (both for tabs and standalone windows).\r\n\r\nh3. Acceptance Test\r\nh4. Standalone Window\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n title: 'A lonely window',\r\n backgroundColor: 'blue'\r\n});\r\nwin.open();\r\n{code}\r\n\r\n1. Verify a window opens (blue background).\r\n2. There should be a title at the top.\r\n\r\nh4. Tab window\r\n{code:javascript}\r\nfunction createTab(color, title) {\r\n var win = Ti.UI.createWindow({\r\n title: title,\r\n backgroundColor: color\r\n });\r\n return Ti.UI.createTab({\r\n title: color,\r\n window: win\r\n });\r\n}\r\n\r\nvar tabGroup = Ti.UI.createTabGroup();\r\ntabGroup.addTab(createTab('blue', 'You take the blue pill.'));\r\ntabGroup.addTab(createTab('red', 'You take the red pill.'));\r\ntabGroup.open();\r\n{code}\r\n\r\n1. Verify the tab group opens with two tabs.\r\n2. Verify each tab has a title (bottom) for each color.\r\n3. Try selecting both tabs and verify title for window is displayed on top.\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: Window.title", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "410175", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T00:48:46.000+0000", "updated": "2017-03-09T00:48:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }