{ "id": "81960", "key": "TIMOB-5864", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-17T19:06:17.000+0000", "created": "2011-10-26T07:11:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "orientation", "qe-3.4.0", "qe-closed-3.2.3", "qe-testadded", "tabgroup", "tabs", "tbs-1.9.0" ], "versions": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "40944", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136222", "key": "TIMOB-17642", "fields": { "summary": "iOS8: LANDSCAPE_RIGHT image is cut off and is not centered", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:32:04.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\r\n\r\nTabGroup is wrongly resized when the orientation is changed.\r\n \r\nh3. Reproducible steps:\r\n \r\n1.Run the code below.\r\n2.Press tab 2.\r\n\r\nh3. Behavior:\r\nThe tab 2 is not showed with the correct size. Tab 1 covers 75% of the screen width and Tab2 covers 25% of the screen width\r\n \r\nh3. Expected behavior\r\n\r\nCustomer wants to have the TabGroups with a correct size. The expectation is to have 50% of the screen width for each tab.\r\n\r\n\r\nh3. Sample Code:\r\n\r\n{code}\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n orientationModes: [Titanium.UI.LANDSCAPE_LEFT]\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n orientationModes: [Titanium.UI.PORTRAIT]\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2);\r\n\r\ntabGroup.open();\r\n\r\n{code}\r\n\r\nh3. Helpdesk\r\nAPP-196512", "attachment": [ { "id": "51070", "filename": "iOS7.PNG", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-09T06:51:28.000+0000", "size": 26213, "mimeType": "image/png" }, { "id": "51071", "filename": "iOS8.PNG", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-09T06:51:28.000+0000", "size": 21415, "mimeType": "image/png" }, { "id": "51422", "filename": "rotate_to_portrait_from_landscape_tab2.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:47:54.000+0000", "size": 29017, "mimeType": "image/png" }, { "id": "23880", "filename": "Screen Shot 2011-10-26 at 9.41.53 AM.png", "author": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T07:11:50.000+0000", "size": 119853, "mimeType": "image/png" }, { "id": "51420", "filename": "tab1_landscape.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:47:54.000+0000", "size": 24683, "mimeType": "image/png" }, { "id": "51421", "filename": "tab2_pressed_in_landscape.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:47:54.000+0000", "size": 23458, "mimeType": "image/png" }, { "id": "23891", "filename": "tiapp.xml", "author": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T11:07:33.000+0000", "size": 1557, "mimeType": "text/xml" } ], "flagged": false, "summary": "iOS: TabGroup is incorrectly resized when the device orientation changes", "creator": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "framirez", "key": "framirez", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.6.201110202348\r\nTitanium SDK: 1.7.3 & 1.8.0.v20111020124215 CI Build\r\niOS SDK: 4.3\r\nSimulator", "closedSprints": [ { "id": 129, "state": "closed", "name": "To Be Scheduled", "startDate": "2016-03-28T04:03:55.142Z", "endDate": "2016-04-08T04:03:00.000Z", "completeDate": "2016-03-29T04:09:03.755Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "170494", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the materials provided in the ticket. Please attach the tiapp.xml used for this project. The application run with the javascript from this ticket shows the tabs properly taking 50% of the screen width each, but does not ever rotate to portrait mode.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T09:04:01.000+0000", "updated": "2011-10-26T09:04:01.000+0000" }, { "id": "170518", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After further review, this is indeed a problem and has been scheduled and assigned.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T10:44:36.000+0000", "updated": "2011-10-26T10:44:36.000+0000" }, { "id": "170548", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As a timely workaround to the reported issue, the client should put the supported orientation modes on the tab group, not the windows in the tab group. This will present a UI supported by Apple's HIG, and works fine with our current SDK.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T12:43:50.000+0000", "updated": "2011-10-26T12:45:59.000+0000" }, { "id": "292462", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-11T21:25:11.000+0000", "updated": "2014-02-11T21:25:11.000+0000" }, { "id": "296742", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "TabGroup is resizing correctly having two tabs, each with 50% width.\r\n\r\nVerified the fix using:\r\nDevice : iPhone 5s , iOS version : 7.1\r\nSDK: 3.2.3.v20140311115447\r\nCLI version : 3.2.1\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.1\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.2.201403061827\r\ntitanium-code-processor: 1.1.0\r\nXCode : 5.1 Beta 5\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-03-12T08:16:15.000+0000", "updated": "2014-03-12T08:16:15.000+0000" }, { "id": "322478", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is reproducible on iOS8 device, working fine on iOS7 device. See the attached screen shots.\r\nHence reopening this issue using below environment - \r\nAppcelerator Studio:3.4.0.201409032106\r\nSdk:3.4.0.v20140908164913\r\nalloy:1.5.0-beta2\r\ntitanium:3.4.0-beta\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6Beta6\r\nDevice:iPhone5s(v8.0), iPhone5(v7.1.2)", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-09T06:50:00.000+0000", "updated": "2014-09-09T06:50:00.000+0000" }, { "id": "323393", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Known issue with forced orientations for 3.4.0. We may deprecate forced orientations, or provide a small fix in 3.4.1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T18:50:58.000+0000", "updated": "2014-09-12T19:20:36.000+0000" }, { "id": "324561", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added screenshots with a different behavior with\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409161950\r\nTitanium SDK, build: 3.4.0.v20140917120000\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc4\r\ntitanium-code-processor@1.1.1\r\nXcode6.0.1 (6A317)\r\nDevices:\r\niPhone 5S iOS8\r\n\r\nh5. Steps to reproduce\r\n1. Run the app\r\n2. Click Tab2 from Landscape mode\r\n3. Rotate the device", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:43:45.000+0000", "updated": "2014-09-18T18:46:43.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }