Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15581] iOS: Tab title does not show if there is no icon

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-05T22:12:39.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sRelease 3.2.0
ComponentsiOS
Labelsmodule_tabgroup, qe-testadded, regression, triage
ReporterTony Lukasavage
AssigneeVishal Duggal
Created2013-10-25T16:49:42.000+0000
Updated2014-02-14T11:11:48.000+0000

Description

problem

Before TiSDK 3.2.0, tabs that had a title but no icon showed the title just fine. Using the current TiSDK 3.2.0 though, the title does not show if there is no icon.

test case

Create a default traditional titanium app (2 tabbed)

Comment out the icon property in both createTab calls in the app.js file

Set the TiSDK version in the tiapp.xml to be the current 3.2.0 CI (install if necessary)

Run the app for iOS 6.0, 6.1, and 7.0 sims. None will show the tab titles.

Change the TiSDK version in tiapp.xml to anything in the 3.1.X branch.

Run the app for iOS 6.0, 6.1, and 7.0 sims. The titles will show in all cases.

Comments

  1. Vishal Duggal 2013-11-05

    Fixed by this commit https://github.com/vishalduggal/titanium_mobile/commit/53bfdd09f1d79251cfa8a8d36fda77f69e4ef847
  2. Pragya Rastogi 2013-11-12

    Tested and Verified the fix with: OSX: 10.8.5 Xcode:5.0 Appcelerator Studio: 3.2.0.201311112306 SDK: 3.2.0.v20131111174605 acs:1.0.7 alloy:1.3.0 npm:1.3.2 titanium:3.2.0 titanium-code-processo:1.0.3 Device: iOS7(v7.0.3)-iPodTouch1 Simulator- iPhone Retina(4-inch) iOS 7.0, 6.1, 6.0

JSON Source