{ "id": "137534", "key": "TIMOB-19339", "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": [], "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": "2018-08-02T08:41:35.000+0000", "created": "2014-10-01T04:43:05.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "Regression", "SplitWindow", "TCSupportTriage", "iOS8", "iPad" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-02T08:41:35.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "After updating Titanium to 3.4.0 and Xcode to 6.0.1, hiding the MasterView of an iPad SplitWindow in portrait mode running iOS 8 causes the second level of a navigationWindow in the master view not to display.\r\n\r\nTo Recreate: Create a basic template app in Studio. Replace the app.js with the attached file, build for iPad running iOS8 and run.\r\nNavigate to one of the subMenu's then back.\r\nPress the menu button to collapse MasterView, then press again to re-open MasterView.\r\nSelect a subMenu again.\r\n\r\nExpected Outcome: The sublist is displayed.\r\n\r\nActual Outcome: The sublist does not appear\r\n\r\nNOTE: This works correctly in iOS7, and works correctly on apps that were built before Xcode6 + Studio 3.4.0 and installed on an iOS7 device which has since been upgraded to iOS8\r\n\r\nEDIT: uploaded a more concise app.js", "attachment": [ { "id": "51748", "filename": "app.js", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-01T05:26:07.000+0000", "size": 2680, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: iPad SplitWindow - Hiding master view breaks Navigation Window", "creator": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Mac OSX10.9.4, Titanium Studio 3.4.0.201409261227, Titanium CLI 3.4.0, Titanium SDK version 3.4.0.GA, Xcode 6.0.1 (6A317), Tested on iOS Simulator and iPad Mini", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "326558", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "It seems like changing Ti.UI.iPad.splitWindow.showMasterInPortrait after creation is breaking the Navigation window", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-01T05:27:06.000+0000", "updated": "2014-10-01T05:27:06.000+0000" }, { "id": "327108", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-07T03:47:42.000+0000", "updated": "2014-10-07T03:47:42.000+0000" }, { "id": "329295", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "Any help/information would be appreciated. Critical error that did not exist before update!", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-24T05:13:59.000+0000", "updated": "2014-10-24T05:13:59.000+0000" }, { "id": "329998", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "Also note that this works as expected with the following configuration:\r\nMac OSX10.9.4, Titanium Studio 3.4.0.201409261227, Titanium CLI 3.4.0 Titanium SDK version 3.3.0.GA, Xcode 5.1.1, Tested on iOS Simulator and iPad Mini", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-29T23:45:16.000+0000", "updated": "2014-10-29T23:45:16.000+0000" }, { "id": "343176", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mrahman] can you please retest on 3.5.0 and master?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-13T00:30:59.000+0000", "updated": "2015-02-13T00:30:59.000+0000" }, { "id": "345769", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~mrahman] please retest with 3.5.0 and master\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-03-12T00:22:58.000+0000", "updated": "2015-03-12T00:22:58.000+0000" }, { "id": "345816", "author": { "name": "diegomtv", "key": "diegomtv", "displayName": "Diego Ogniben", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm having the same issue on:\r\nMac OSX10.9.5, Titanium Studio 3.4.1.201410281727, Titanium SDK version 3.5.1.GA, Xcode 6.1.1, Tested on iOS Simulator and iPad 2\r\n", "updateAuthor": { "name": "diegomtv", "key": "diegomtv", "displayName": "Diego Ogniben", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T11:48:49.000+0000", "updated": "2015-03-12T11:48:49.000+0000" }, { "id": "358925", "author": { "name": "SimbuAnubavam", "key": "simbuanubavam", "displayName": "simbu-anubavam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi All,\r\n\r\nI am also facing an issue in the different manner,\r\nI used Ti.UI.iPad.splitWin.showMasterInPortrait = true to show the content on FULL width and height,\r\nWhich is fine, But at that time the height of the element(ex TableView) of SplitWindow is changed to Window size.\r\n\r\nAnd then changing the orientation of app to Landscape not showing the Content of the window fully, The bottom elements are hided and its is not visible.\r\n\r\nAgain changing to PORTRAIT is showing the content correctly.\r\n\r\nBut Landscape is not showing correctly, \r\n\r\nPlease suggest\r\n ", "updateAuthor": { "name": "SimbuAnubavam", "key": "simbuanubavam", "displayName": "simbu-anubavam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-04T11:38:16.000+0000", "updated": "2015-08-04T11:38:16.000+0000" }, { "id": "439688", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This problem do not exist now. This ticket can be closed.\r\nThere is a bit change in splitView creating in API. Previously it was created using Ti.UI.iPad.createSplitWindow(). But now Ti.UI.iOS.createSplitWindow().\r\nSo the updated test case from attached app.js -\r\n\r\n{code:java}\r\nvar masterOpen = true;\r\n\r\nvar HomeView = Ti.UI.createWindow({\r\n\tbackgroundColor : 'brown'\r\n});\r\n\r\n//Master Navigation Window for Split View\r\nvar masterView = Ti.UI.createWindow({\r\n\ttitle : \"Testing\",\r\n});\r\nvar masterTable = Ti.UI.createTableView();\r\nfor (var x = 0; x < 5; x++) {\r\n\t//Creates a tableView for child table\r\n\tvar subTable = Ti.UI.createTableView();\r\n\tfor (var i = 0; i < 3; i++) {\r\n\t\t//Adds rows to the sub table\r\n\t\tsubTable.appendRow(Ti.UI.createTableViewRow({\r\n\t\t\ttitle : \"subRow\" + i,\r\n\t\t}));\r\n\t}\r\n\t//creates a window to contain the sub table\r\n\tvar subView = Ti.UI.createWindow({\r\n\t\ttitle : \"subTable\" + x,\r\n\t});\r\n\tsubView.add(subTable);\r\n\r\n\t//appends the row to the masterView table\r\n\tmasterTable.appendRow({\r\n\t\ttitle : \"row\" + x,\r\n\t\tchildTable : subView,\r\n\t\thasChild : true,\r\n\t});\r\n}\r\nmasterView.add(masterTable);\r\n\r\n//Creates navigation Window with master table\r\nvar masterNavWindow = Ti.UI.iOS.createNavigationWindow({\r\n\twindow : masterView,\r\n});\r\n\r\n//Event Listener for click event. If row has child, open child\r\nmasterTable.addEventListener(\"click\", function(c) {\r\n\tTi.API.info(JSON.stringify(c));\r\n\tif (c.row.hasChild) {\r\n\t\tTi.API.info(\"Opening sub Table\");\r\n\t\tmasterNavWindow.openWindow(c.row.childTable);\r\n\t} else {\r\n\t\tTi.API.warn(\"c.row does not have child\");\r\n\t}\r\n});\r\n\r\n//Create detail window\r\nvar detailWindow = Ti.UI.createWindow({\r\n\ttitle : \"This is a detail Window\",\r\n});\r\n//Create detail View and add a label\r\nvar detailView = Ti.UI.createView();\r\ndetailView.label = Ti.UI.createLabel({\r\n\ttext : \"Hello World\"\r\n});\r\ndetailView.add(detailView.label);\r\ndetailWindow.add(detailView);\r\n\r\n//Create detail Navigation Window\r\nvar detailNavWindow = Ti.UI.iOS.createNavigationWindow({\r\n\twindow : detailWindow,\r\n});\r\n\r\n\r\nvar self = Ti.UI.iOS.createSplitWindow({\r\n\tbackgroundColor : \"#1B457E\",\r\n\tmasterView : masterNavWindow,\r\n\tdetailView : detailNavWindow,\r\n\tshowMasterInPortrait : true\r\n});\r\n\r\nvar masterButton = Ti.UI.createButton({\r\n\ttitle : \"\\u2630\",\r\n});\r\ndetailWindow.leftNavButton = (detailWindow.orientation == Ti.UI.PORTRAIT || detailWindow.orientation == Ti.UI.UPSIDE_PORTRAIT) ? masterButton : null;\r\n\r\n//Button is used to hide/show masterView in portrait orientation\r\nmasterButton.addEventListener(\"click\", function(mastClick) {\r\n\tself.showMasterInPortrait = !masterOpen;\r\n\tmasterOpen = !masterOpen;\r\n});\r\n\r\nTi.Gesture.addEventListener('orientationchange', function(e) {\r\n\tif (e.orientation == Ti.UI.PORTRAIT || e.orientation == Ti.UI.UPSIDE_PORTRAIT) {\r\n\t\tdetailWindow.leftNavButton = masterButton;\r\n\t\tself.showMasterInPortrait = masterOpen;\r\n\t} else if (e.orientation == Ti.UI.LANDSCAPE_LEFT || e.orientation == Ti.UI.LANDSCAPE_RIGHT) {\r\n\t\tdetailWindow.leftNavButton = null;\r\n\t\tself.showMasterInPortrait = false;\r\n\t}\r\n});\r\n\r\nself.open();\r\n\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-02T08:41:00.000+0000", "updated": "2018-08-02T08:41:00.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }