Titanium JIRA Archive
Appcelerator Community (AC)

[AC-822] Unable to change Back Button Title if the previous windows have a large title

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-17T06:32:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterFabio
AssigneeShak Hossain
Created2014-09-30T15:52:55.000+0000
Updated2016-03-08T07:37:06.000+0000

Description

Steps to Reproduce

Create a navigation window and add a window with a large title for example 'THIS IS A LARGE TITLE'. Open a new window and try to set the backButtonTitle to 'Voltar' (back in portuguese) You will get 'Back' instead of 'Voltar'. If you change the title of the first window to something shortener like 'Hello', everything works as should.

Actual Result

If the title of the first window is too bit we allways get 'Back' as the backButtonTitle

Expected Result

When we change the backButtonTitle we should get the text that we configured.

Comments

  1. Rakhi Mitro 2015-08-30

    Hello, Tested this issue. It's working as expected by setting a big title on first window, and open a second widow from there, where the "backButtonTitle" to "volter". *Test Environments:* CLI Version :4.0.1 Titanium SDK Version:4.1.0.GA Appc Studio: Appcelerator Studio, build: 4.1.1.201507141126 Alloy: 1.7.3 iOS SDK: 8.1,iOS Simulator: iPhone 4s OS X Version: 10.10.1 *Test Steps:* 1.Create a Classic project. 2.On app.js create a navigation window and add a window with a large title for example 'THIS IS A LARGE TITLE'. 3.Open a new window and try to set the backButtonTitle to ‘Voltar’. 4.Run the project *Expected Result* When we change the backButtonTitle we should get the text that we configured. *Test Result* If the title of the first window is too bit we allways get 'Voltar' as the backButtonTitle. Check [snapshot 1 ](http://i60.tinypic.com/nd08pz.png) and [snapshot 2 ](http://i61.tinypic.com/2rmups9.png) as output. Thanks

JSON Source