{ "id": "124355", "key": "TIMOB-16136", "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": null, "resolutiondate": null, "created": "2014-01-03T15:47:29.000+0000", "priority": null, "labels": [ "orientation", "tabgroup" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:16.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "TabGroup doesn't adapt its width to screen's width after orientation is changed in window without tabGroup (You can see that issue in attached video).\r\n\r\n\r\n{code:xml}\r\n\r\n\t\r\n \t\r\n \t\t\r\n \t\t\r\n \r\n \t\r\n \r\n \t\t\r\n \t\r\n \t\r\n \t\r\n \t\r\n \t\r\n \t\r\n \t\r\n\r\n{code}\r\n\r\n{code:javascript}\r\n\"Window\":{\r\n backgroundColor: \"white\",\r\n orientationModes: [Ti.UI.PORTRAIT]\r\n}\r\n{code}\r\n\r\n{code:javascript}\r\n$.index.open();\r\n\r\nvar openWindow = function(){\r\n\tvar win = Ti.UI.createWindow({\r\n\t\tbackgroundColor: \"white\",\r\n\t\torientationModes: [Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT],\r\n\t\ttabBarHidden: true\r\n\t});\r\n\t\r\n\t$.index.activeTab.open(win);\r\n};\r\n{code}", "attachment": [ { "id": "44912", "filename": "tabGroupBug.mov", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T15:47:29.000+0000", "size": 2869733, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: TabGroup doesn't adapt its width to screen's width after orientation change", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.2.0.GA", "comment": { "comments": [ { "id": "286911", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as we can reproduce this issue with Titanium SDK 3.2.0 release. One window in the test case supports only portrait while other supports portrait and landscape. When you launch the application, it displays 3 tabs in the portrait mode correctly. You move to the next screen and then change the orientation. Move back to the previous screen and it switches back to portrait mode with only two tabs instead of three. Please take a look at the attached video.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-07T07:10:03.000+0000", "updated": "2014-01-07T07:10:03.000+0000" }, { "id": "418012", "author": { "name": "jaraen", "key": "jaraen", "displayName": "Javier Rayon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is still the case with sdk 5.5.1. \r\n\r\nAny fix or workaround for it?\r\n\r\nThanks!", "updateAuthor": { "name": "jaraen", "key": "jaraen", "displayName": "Javier Rayon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-25T15:22:31.000+0000", "updated": "2017-04-25T15:22:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }