{ "id": "139321", "key": "TIMOB-19166", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-11-10T16:53:56.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "3.4.0", "3.4.1", "TCSupportTriage", "ios8", "leftnavbutton", "navbutton", "replaced", "reprod", "tabgroup" ], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:12.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h2. Problem description\r\nThe left nav button on the second tab (Tab 2) is invisible when the right nav button on the first tab (Tab 1) is replaced with an other button.\r\n\r\nh2. Steps to reproduce\r\n1. Switch to the second tab (Tab 2) to assure that the left nav button is visible\r\n2. Switch back to the first tab (Tab 1)\r\n3. Tap on the right nav button (Click here)\r\n4. Switch to the second tab (Tab 2) again! The left nav button is invisble\r\n5. It is possible to tap on the left nav button area (in the second tab) to fire the onClick event of the button\r\n\r\nh2. Test case\r\n{code:lang=javascript|title=app.js}\r\n(function() {\r\n\tvar tabGroup = Titanium.UI.createTabGroup();\r\n\t\r\n\tvar win1 = Titanium.UI.createWindow({title: 'Tab 1',backgroundColor: '#fff'});\r\n\tvar tab1 = Titanium.UI.createTab({title: 'Tab 1',window: win1});\t\r\n\tvar win2 = Titanium.UI.createWindow({title: 'Tab 2',backgroundColor: '#fff'});\r\n\tvar tab2 = Titanium.UI.createTab({title: 'Tab 2',window: win2});\r\n\r\n\tvar descriptionLabel = Titanium.UI.createLabel({left:20,top:20,width:Titanium.UI.FILL,font:{fontSize:12},\r\n\t\t text:'PROBLEM DESCRIPTION\\n'\r\n\t\t +'The left nav button on the second tab (Tab 2) is invisible when the right nav button on the first tab (Tab 1) is replaced with an other button \\n\\n'\r\n\t\t +'STEPT TO REPRODUCE\\n'\r\n\t\t +'1. Switch to the second tab (Tab 2) to assure that the left nav button is visible \\n'\r\n\t\t +'2. Switch back to the first tab (Tab 1)\\n'\r\n\t\t +'3. Tap on the right nav button (Click here)\\n'\r\n\t\t +'4. Switch to the second tab (Tab 2) again! The left nav button is invisble\\n'\r\n\t\t +'5. It is possible to tap on the left nav button area (in the second tab) to fire the onClick event of the button\\n\\n'\r\n\t\t +'ENVIRONMENT\\n'\r\n\t\t +'Ti Mobile SDK: 3.4.0 GA, Ti Studio: 3.4.0.201409261227, iOS: 8.1 & 8.1.1, Device: iPhone 5 and 5S'\r\n\t});\r\n\t\r\n\twin1.add(descriptionLabel);\r\n\r\n\tvar leftBtn = Titanium.UI.createButton({title: 'Left'});\r\n\tvar rightClickBtn = Titanium.UI.createButton({title: 'Click here'});\r\n\tvar rightClickedBtn = Titanium.UI.createButton({title: 'Clicked'});\r\n\t\r\n\tleftBtn.addEventListener('click',function(){\r\n\t\talert('left button clicked');\r\n\t});\r\n\t\r\n\trightClickBtn.addEventListener('click',function(){\r\n\t\twin1.rightNavButton = rightClickedBtn; //toggle btn\r\n\t});\r\n\t\r\n\twin1.leftNavButton = leftBtn;\r\n\twin2.leftNavButton = leftBtn;\r\n\t\r\n\twin1.rightNavButton = rightClickBtn;\r\n\t\r\n\ttabGroup.addTab(tab1);\r\n\ttabGroup.addTab(tab2);\r\n\t\r\n\ttabGroup.open();\r\n})();\t\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Left nav button is invisible (on the second tab) when the right nav button is replaced", "creator": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "Esche", "key": "esche", "displayName": "Markus Eschenbach", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK version: 3.4.0 GA & 3.4.1 GA\r\nPlatform & version: & iOS 8.1 & iOS 8.1.1\r\nDevice Details: iPhone 5 and 5S and Simulator\r\nHost Operating System: OS X 10.9 & OS X 10.10\r\nTitanium Studio version: 3.4.0.201409261227", "comment": { "comments": [ { "id": "423625", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-06T21:49:55.000+0000", "updated": "2017-07-06T21:49:55.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }