{ "id": "83832", "key": "TIMOB-6676", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:20:27.000+0000", "created": "2011-12-14T17:44:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "14274", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "62956", "key": "TIMOB-2324", "fields": { "summary": "iOS: barImage on iPhone disappears when showing modal window", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:33.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": "h4. Issue\r\nWhen using modalTransitionStyle the bar image disappears and just shows the bar color during the flip animation.\r\n\r\nh4. Code Sample\r\n{code}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'1', \r\n backgroundColor:'#fff',\r\n barImage:'navbar.png',\r\n barColor: '#AAA'\r\n}); \r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle:'Open',\r\n\twidth:100, \r\n\theight:40\r\n});\r\n\r\nwin1.add(button);\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png', \r\n title:'1', \r\n window:win1\r\n}); \r\n\r\ntabGroup.addTab(tab1);\r\n\r\nbutton.addEventListener('click', function(){\r\n\tvar win = Ti.UI.createWindow({\r\n\t\tbarImage:'navbar.png', \r\n\t\tbarColor: '#AAA'\r\n\t});\r\n\tvar close = Ti.UI.createButton({\r\n\t\ttitle:'close',\r\n\t\twidth:100,\r\n\t\theight:40\r\n\t});\r\n\tclose.addEventListener('click', function(){\r\n\t\twin.close();\r\n\t});\r\n\twin.add(close);\r\n\twin.open({\r\n\t\tmodal: true, \r\n \tmodalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, \r\n \tmodalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN\r\n });\r\n});\r\ntabGroup.open();\r\n{code}\r\n\r\nh4. Repro Steps\r\n1. Drop code into app.js.\r\n2. Download attached barImage asset and drop into resources folder.\r\n3. Run app using 1.7.5.\r\n4. Click 'Open'\r\n5. See Red bar color appear during animation.\r\n", "attachment": [ { "id": "24670", "filename": "navbar.png", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T17:44:09.000+0000", "size": 11044, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: modalTransitionStyle loses barImage on animation", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS Simulator 4.3", "comment": { "comments": [ { "id": "176489", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112152014\r\nTi Mob 1.8.0.1.RC3\r\nOSX Lion\r\n\r\niPhone 4.3s sim, iPhone 4S OS 5.0, iPa2 2 OS 4.3.5\r\n\r\nExpected behavior of modal transition not losing bar image is shown after running sample code\r\n\r\n*Note keeping open to close against 1.9.0", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T09:57:31.000+0000", "updated": "2011-12-19T09:57:31.000+0000" }, { "id": "178988", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this issue as fixed against 1.8.0.1", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T16:23:57.000+0000", "updated": "2012-01-11T16:23:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }