Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1654] backButtonTitle ignored under some arcane circumstances

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-08-26T06:14:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
Reportercolons
AssigneeMauro Parra-Miranda
Created2014-06-17T13:50:00.000+0000
Updated2016-03-08T07:38:08.000+0000

Description

When you build and run the attached app on iOS 7.1 and hit the 'go' button, the backButtonTitle property of the second child window that is created is ignored, and the back button is rendered with the text 'Back' rather than the expected empty string. I've attached a video, so you know what you're trying to reproduce. It seems to be the combination of opening the window without animation and having the title set in the controller code rather than in the Alloy XML that causes this, as changing either of those two factors prevents the issue from happening.

Attachments

FileDateSize
backButtonTitle.mov2014-06-17T13:50:00.000+0000289874
backButtonTitle.zip2014-06-17T13:50:00.000+00005910485

Comments

  1. colons 2014-06-17

    Workarounds would be very much appreciated. In the very specific use case that led to us running into this, we can't set the window titles in Alloy XML and we can't have the window opening be animated.
  2. Motiur Rahman 2014-07-16

    Hi, We have tested this issue. It’s not a bug and works as expected. You just add backButtonTitle name at app.tss file like the following code in styles folders. Hopefully Problem will be solved.

    Testing Environment:

    Titanium SDK: 3.2.3.GA,3.3.0.RC Titanium CLI: 3.3.0 –rc, iOS SDK: 7.1, Alloy:1.4.0, OS X Version: 10.9.3, Appcelerator Studio: 3.2.3

    Steps to Test:

    1. In attached app, paste this code at app.tss file in the styles folder. 2. Run this code with the testing environment.
       "Window": {
           backButtonTitle: 'Back',
           backgroundColor: '#d66',
           layout: 'vertical',
       }
       
       
    Thanks.
  3. Mauro Parra-Miranda 2014-08-10

    Hello [~colons]! Can you please take a look to the above suggestion and let me know if that fixes you issue ? TIA!
  4. Mauro Parra-Miranda 2014-08-26

    We can't reproduce with the modified testcase.

JSON Source