{ "id": "86311", "key": "TIMOB-8100", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-12T06:03:13.000+0000", "created": "2012-02-10T04:05:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api", "module_navgroup", "qe-ios031912", "qe-testadded" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "16271", "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": "16272", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "85397", "key": "TIMOB-7363", "fields": { "summary": "iOS: flash on transition between splash and tab group when barImage is set", "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": "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" }, "outwardIssue": { "id": "85650", "key": "TIMOB-7455", "fields": { "summary": "iOS : Window/BarImage - iOS 5+ Setting the bar image property on a window causes the windows bar color to become transparent", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-09-17T14:32:36.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": "In window with a navbar that has a barImage and nav buttons (such as a rightNavButton), if we go to a child window and then back the nav buttons will be hidden by the barImage (but are still there and react to the touch).\r\n\r\nSTEPS TO REPRODUCE:\r\n\r\n* Put the app.js (code below and attached) and navbar.png (attached) in the Resources directory\r\n\r\n* Run the code in the iOS simulator\r\n\r\n* Click on the \"Open Window 2\" button\r\n\r\n* Click on the back button to return to window 1\r\n\r\nThe right nav button will now be hidden (although you can still click it)\r\n\r\napp.js example code follows.\r\n\r\n{code}\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\ttitle : 'Window 1',\r\n\tbarImage : 'navbar.png'\r\n});\r\n\r\nvar navButton = Ti.UI.createButton({\r\n\ttitle : 'rightNavButton'\r\n});\r\n\r\nnavButton.addEventListener('click', function(e) {\r\n\tTi.UI.createAlertDialog({\r\n\t\tmessage : 'nav button clicked'\r\n\t}).show();\r\n});\r\n\r\nwin1.rightNavButton = navButton;\r\nwin1.titleControl = Ti.UI.createLabel({text : 'Title Control'});\r\n\r\nvar button = Ti.UI.createButton({\r\n\twidth : 200,\r\n\theight : 50,\r\n\ttitle : 'Open Window 2'\r\n});\r\n\r\nbutton.addEventListener('click', function(e) {\r\n\ttabGroup.activeTab.open(win2);\r\n});\r\n\r\nwin1.add(button);\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n\ttitle : 'Window 2'\r\n});\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle : 'Tab 1',\r\n\twindow : win1\r\n});\r\n\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\ntabGroup.addTab(tab1);\r\ntabGroup.open();\r\n\r\n{code}\r\n\r\n\r\nPossibly related to:\r\n\r\nhttp://developer.appcelerator.com/question/131672/rightnavbutton-and-leftnavbutton-not-displaying-in-181\r\n\r\n\r\n", "attachment": [ { "id": "25724", "filename": "app.js", "author": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-10T04:05:24.000+0000", "size": 711, "mimeType": "application/x-javascript" }, { "id": "25723", "filename": "navbar.png", "author": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-10T04:05:24.000+0000", "size": 5154, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: barImage hides nav buttons after window transition", "creator": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "environment": "iOS 5.0, Titanium Mobile 1.8.1, 1.9.0.v20120209183134", "comment": { "comments": [ { "id": "184119", "author": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was not an issue prior to 1.8.1.\r\n\r\nSomething else to note: During the child window open animation, the parent window nav buttons briefly become visible again.", "updateAuthor": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-23T15:57:34.000+0000", "updated": "2012-02-23T15:58:18.000+0000" }, { "id": "184965", "author": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Has there been any response from Appcelerator or progress made in solving this bug?", "updateAuthor": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-03T13:14:41.000+0000", "updated": "2012-03-03T13:14:41.000+0000" }, { "id": "184966", "author": { "name": "flash716", "key": "flash716", "displayName": "Jeff Gordon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Based on my testing this is fixed in the 1.8.2 SDK released a few days ago.", "updateAuthor": { "name": "flash716", "key": "flash716", "displayName": "Jeff Gordon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-03T13:25:22.000+0000", "updated": "2012-03-03T13:25:22.000+0000" }, { "id": "184969", "author": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is *not* resolved in 1.8.2 for me.", "updateAuthor": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-03T14:10:07.000+0000", "updated": "2012-03-03T14:10:07.000+0000" }, { "id": "184970", "author": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue is only present when there is a custom barImage and a custom titleControl on the window.", "updateAuthor": { "name": "allenhartwig", "key": "allenhartwig", "displayName": "Allen Hartwig", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-03T14:12:30.000+0000", "updated": "2012-03-03T14:12:30.000+0000" }, { "id": "184991", "author": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "body": "I confirm Allen's report. In 1.8.2 the issue as reported by me above is fixed, however adding a titleControl such as\r\n\r\n{code:javascript}\r\nwin1.titleControl = Ti.UI.createLabel({text : 'Title Control'});\r\n{code}\r\n\r\nwill hide the nav button after a transition.\r\n", "updateAuthor": { "name": "jsilva", "key": "jsilva", "displayName": "João Silva", "active": true, "timeZone": "Europe/London" }, "created": "2012-03-05T03:01:48.000+0000", "updated": "2012-03-05T03:01:48.000+0000" }, { "id": "187387", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed the issue when adding the titleControl with 1.8.2 and 2.0.0.v20120320000301", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T09:08:03.000+0000", "updated": "2012-03-20T09:08:03.000+0000" }, { "id": "189592", "author": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "level420", "key": "level420", "displayName": "Dietrich Streifert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-02T22:34:21.000+0000", "updated": "2012-04-02T22:34:21.000+0000" }, { "id": "189686", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed on master by PR 1896", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-03T12:42:49.000+0000", "updated": "2012-04-03T12:42:49.000+0000" }, { "id": "199476", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206200844\r\nTi Mobile SDK 2.1.0.v20120619172256 hash rd3a84b13\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T16:35:06.000+0000", "updated": "2012-06-20T16:35:06.000+0000" }, { "id": "202900", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T06:02:50.000+0000", "updated": "2012-07-12T06:02:50.000+0000" }, { "id": "219321", "author": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Did anyone test this on a device running iOS 4? It is still an issue when running iOS v4.3.2.", "updateAuthor": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T12:37:25.000+0000", "updated": "2012-09-17T12:37:25.000+0000" }, { "id": "219350", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@George- Which version of the TiSDK are you using ?", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T14:15:48.000+0000", "updated": "2012-09-17T14:15:48.000+0000" }, { "id": "219354", "author": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm using 2.1.2.GA. The first time I navigate back to the first window (in a navigation group) everything in the bar displays correctly. It is only after the second time that the left and right nav buttons start disappearing.\r\n\r\nI added [self updateBarImage]; to line 597 of iphone/Classes/TiUIWindowProxy.m and that seemed to do the trick for iOS 4.", "updateAuthor": { "name": "georgehess", "key": "georgehess", "displayName": "George Hess", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T14:32:36.000+0000", "updated": "2012-09-17T14:32:36.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }