{ "id": "136153", "key": "AC-1237", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-12-31T00:08:42.000+0000", "created": "2014-09-05T15:47:08.000+0000", "labels": [ "TCSupportTriage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:37.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Link to Q&A: [http://developer.appcelerator.com/question/177376/ios-window-title-not-visible-when-closing-and-opening-a-window-using-animations#comment-217935]\r\n\r\nClosing a window and opening another window both using animations results in a not displayed window title. Disabling the animation in openWindow() will make the title appear again. It seems to be a regression as it works in 3.2.3 GA but is broken since 3.3.0\r\nI spent a long time in trying to make a small example which should make it possible to reproduce:\r\n\r\n{code:title=index.js}\r\nvar rootWindow = Ti.UI.iOS.createNavigationWindow();\r\nrootWindow.window = Ti.UI.createWindow();\r\nrootWindow.open();\r\nrootWindow.openWindow($.index, {animated : false});\r\n \r\nsetTimeout(function () {\r\n rootWindow.closeWindow($.index, {animated : true});\r\n \r\n var win2 = Ti.UI.createWindow({\r\n backgroundColor: \"#e7e7e7\"\r\n });\r\n rootWindow.openWindow(win2, {animated : true});\r\n win2.title = 'My Title 2';\r\n \r\n}, 5000);\r\n{code}\r\n\r\n{code:title=index.xml}\r\n\r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nWhen executing the example you will notice the title is not visible. Setting {code}rootWindow.openWindow(win2, {animated : true});{code} to {code}rootWindow.openWindow(win2, {animated : false});{code} will make the title appear. Also not closing the {{$.index}} window makes the title appear again. Opening the new window in the {{close}} event of the previous window does not fix it.\r\n\r\nh3. Environment\r\n* Does not work on Titanium 3.3.0 and latest 3.4.0 (master)\r\n* Does work on latest Titanium 3.2\r\n* Tested on iPhone simulator version 7.1\r\n* Titanium Command-Line Interface, CLI version 3.3.0\r\n* Alloy 1.4.1\r\n* OSX 10.9.4\r\n* XCode 5.1.1", "attachment": [], "flagged": false, "summary": "iOS: Window title not visible when closing and opening a window using animations", "creator": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "323046", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe have tested this issue. But we didn't reproduce this issue as a bug, window title is visible when closing and opening a window using animations.\r\n\r\nh3.Testing Environment: \r\nTitanium SDK: 3.3.0.GA\r\nTitanium CLI: 3.3.0,\r\niOS:7.1,\r\nOS X Version: 10.9.4,\r\nAppcelerator Studio: 3.3.0\r\n\r\nh3.Steps to Test:\r\n1. Create a classic project.\r\n2. Paste this code in app.js file.\r\n4. Run this code with the testing environment.\r\n\r\nh3.Test Code.\r\n\r\n{code:title=app.js}\r\nvar win2 = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'red',\r\n\ttitle : 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n\twindow : win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'blue',\r\n\ttitle : 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n\ttitle : 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function() {\r\n\twin1.openWindow(win3, {\r\n\t\tanimated : true\r\n\t});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n\ttitle : 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function() {\r\n\twin1.closeWindow(win3, {\r\n\t\tanimated : true\r\n\t});\r\n\t//win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open(); \r\n{code}\r\n\r\nThanks.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-09-11T11:12:44.000+0000", "updated": "2014-12-31T00:08:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }