Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16227] iOS: NavigationBar - cannot add rightNavButton when a tabgroup is shown

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2014-01-23T18:36:47.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2014 Sprint 02, 2014 Sprint 02 API
ComponentsiOS
Labelsipass1
ReporterSteve O'Neill
AssigneeVishal Duggal
Created2014-01-04T13:51:22.000+0000
Updated2017-03-20T22:00:22.000+0000

Description

Steps to Reproduce

IOS latest, sdk 3.2.0 all updated etc This is not an Alloy project create a project with a navigationWindow add several windows and the navigation works, create a tabgroup, in one of the tabs try to add a rightNavButton to the navigation controller and navigate into it from another window.

Actual Result

no button is added.

Expected Result

buttons should be added to the NavigationBar access to the navigation controller is now not possible from windows in a tab group when it was before the change from Titanium.UI.iPhone.NavigationGroup to Titanium.UI.iOS.NavigationWindow now we have to add a button for saving or adding in the window itself and that looks plain ugley especially when other native apps do it?!!?

Attachments

FileDateSize
.log2014-01-04T13:51:32.000+00009256095
diagnostic3379211069898689469.log2014-01-04T13:51:36.000+000014955
testNavBar.zip2014-01-12T12:00:34.000+00003707169

Comments

  1. Ritu Agrawal 2014-01-07

    Please provide a simple and complete test case to reproduce this issue and we would be happy to investigate it.
  2. Ritu Agrawal 2014-01-12

    Resolving this ticket as we have not been able to reproduce this issue and we have not received the requested information. We would be happy to reopen this ticket and troubleshoot it further once we have the test case.
  3. Steve O'Neill 2014-01-12

    Sorry Just finished creating a test project, there are some comments on the TabView page
  4. Ritu Agrawal 2014-01-12

    Reopening this ticket as a test project has been provided.
  5. Vishal Duggal 2014-01-23

    TabGroup and NavigationWindow are top level containers, which manage Ti.UI.Window objects. As such we expose NavigationBar management only on the Ti.UI.Window object. Although you can nest top level containers on iOS (NavigationGroup inside a TabGroup or vice-versa), this is not supported functionality. Hence there is no way to manage appearance of the hosting NavigationBar (visibility, left/right buttons, barImages, translucency etc). The issue discussed here has been filed as a feature request TIMOB-16299 Resolving this ticket as invalid since this is not a bug but expected behavior under current architecture.
  6. Vishal Duggal 2014-01-23

    Not a bug but expected behavior.
  7. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source