Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11010] iOS 6: titleControl vanishes

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-22T09:52:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 2.1.3, Release 3.0.0, Sprint 2012-19 API, 2012 Sprint 19
ComponentsiOS
Labelsbarimage, bug, defect, ios6, qe-ios090112, qe-ios6, qe-testadded, titlecontrol
Reporterkosso
AssigneeSabil Rahim
Created2012-09-19T19:35:56.000+0000
Updated2013-07-22T09:52:50.000+0000

Description

If a root tab window has a barImage and a titleControl set, then a window is opened then closed, the root window's titleControl vanishes. Oddly, a screen orientation change-then-back makes it reappear. I was almost ready to submit my paid app.net app to the AppStore when I discovered this on an iPad running iOS6. My testers have also confirmed the issue on an iPhone. This issue does not occur if there is no barImage set to each window. Attached is a full test app (called TestBug) which reproduces the bug.

Attachments

FileDateSize
TestBug.zip2012-09-19T19:39:46.000+00002402191
TestBug.zip2012-09-19T19:35:56.000+00002402320

Comments

  1. Eric Merriman 2012-09-19

    Verified occurs with latest 2.1.X branch, 2.1.3.v20120918170114 on iPod 4th gen running iOS6 GM. Also occurs in iOS 6 simulator. Does not occur on iOS 5.1 simulator. Steps to reproduce: 1) Launch test app 2) Click "Open Test Window" button 3) Click "
  2. Thomas Huelbert 2012-09-20

    Asa per Kosso, it only happens when there's a barImage set on the root tab window
  3. Vishal Duggal 2012-09-20

    Merged https://github.com/appcelerator/titanium_mobile/pull/3012 into master
  4. kosso 2012-09-20

    Great work. Thanks! I was one line away from there, try to figure out where to add something. ;) Will report back with confirmation of fix.
  5. kosso 2012-09-20

    Confirming this has fixed the issue in my apps. Many, many thanks for fixing so quickly! :)
  6. Vishal Duggal 2012-09-20

    PR https://github.com/appcelerator/titanium_mobile/pull/3015 merged into 2_1_X
  7. Eric Merriman 2012-09-21

    Verified fixed on iPod 4th Gen iOS 6 iPhone 4s iOS 6 iPad 3 iOS 6 iOS 6.0 Sim and iOS 5.1 sim with: SDK 2.1.3.v20120920181610 SDK 3.0.0.v20120921051359 Titanium Studio, build: 2.1.2.201208301612 Xcode 4.5 and iOS 6 GM
  8. Priya Agarwal 2013-07-22

    Reopening just to update label.
  9. Priya Agarwal 2013-07-22

    Updated label. Verified with Environment: Studio: 3.1.2.201307161852 Titanium SDK: 3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:iphone5(v6.1.4),ipad 2(v5.1),ipad mini(v 6.0) Xcode: 4.5.1 title control now do not vanishes.

JSON Source