{ "id": "106546", "key": "TIMOB-12102", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-27T18:11:02.000+0000", "created": "2012-12-14T17:36:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "community" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-18T22:57:31.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Problem description\r\nWhen using a custom barImage, the navigation bar contents of the new window do not animate in.\r\n\r\nh3. Steps to reproduce\r\nCreate a NavGroup with two windows and set the 'barImage' for at least the first displayed window.\r\nResult: when opening Window 2, the top title bar is not actually animating in. Instead it just appears with no animation.\r\n\r\n{code:javascript}\r\nvar win1 = Titanium.UI.createWindow({\r\n backgroundColor: '#fff',\r\n barImage: 'images/navbar.png', // set a barImage image here for Window 1\r\n title: 'Window 1'\r\n});\r\n\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: '#fff',\r\n barImage: 'images/navbar.png', // set a barImage image here for Window 2\r\n title: 'Window 2'\r\n});\r\n\r\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\r\n window: win1\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Window 2',\r\n top: 40\r\n});\r\nwin1.add(button);\r\nbutton.addEventListener('click', function(event) {\r\n nav.open(win2);\r\n});\r\n\r\nvar win = Titanium.UI.createWindow();\r\nwin.add(nav);\r\nwin.open();\r\n{code}\r\n\r\n\r\nVideos showing the two different behaviors:\r\nWithout barImage: http://cl.ly/2e002Y2C040M\r\nUsing barImage: http://cl.ly/012p2x320R1K\r\n", "attachment": [], "flagged": false, "summary": "iOS: UI.iPhone.NavigationGroup animation broken when using barImage", "creator": { "name": "joshuabaker", "key": "joshuabaker", "displayName": "Josh Baker", "active": false, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK tested 2.1.4 GA and 3.1 CI\r\niOS version tested: 6 and 5.1", "comment": { "comments": [ { "id": "243889", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\niOS iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-25T10:21:39.000+0000", "updated": "2013-03-25T10:21:39.000+0000" }, { "id": "273934", "author": { "name": "cdr", "key": "cdr", "displayName": "Chris Rose", "active": true, "timeZone": "Europe/London" }, "body": "This was fixed for 3.1.3, I can no longer reproduce it with 3.1.3.GA.\r\n\r\nBug should be marked as fixed.", "updateAuthor": { "name": "cdr", "key": "cdr", "displayName": "Chris Rose", "active": true, "timeZone": "Europe/London" }, "created": "2013-10-05T14:39:25.000+0000", "updated": "2013-10-05T14:39:25.000+0000" }, { "id": "340784", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed along with changes to TIMOB-16121", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-27T18:11:02.000+0000", "updated": "2015-01-27T18:11:02.000+0000" }, { "id": "346455", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As UI.iPhone.NavigationGroup has been removed in favor of UI.iOS.NavigationWindow, the test case has been changed to:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n backgroundColor: '#fff',\r\n barImage: 'images/navbar.png', // set a barImage image here for Window 1\r\n title: 'Window 1'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Window 2',\r\n top: 40\r\n});\r\nbutton.addEventListener('click', function(event) {\r\n nav.openWindow(win2);\r\n});\r\n\r\nwin1.add(button);\r\n \r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: '#fff',\r\n barImage: 'images/navbar.png', // set a barImage image here for Window 2\r\n title: 'Window 2'\r\n});\r\n \r\nvar nav = Titanium.UI.iOS.createNavigationWindow({\r\n window: win1\r\n});\r\n\r\nnav.open();\r\n{code}", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-18T22:56:26.000+0000", "updated": "2015-03-18T22:56:26.000+0000" }, { "id": "346457", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 4.0.0.v20150317234215\r\nStudio 3.4.2.201502181619\r\nCLI 3.4.2\r\nXcode 6.2\r\nNode 0.12\r\n\r\nAnimations display correctly.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-18T22:57:31.000+0000", "updated": "2015-03-18T22:57:31.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }