{ "id": "119793", "key": "TIMOB-15361", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15747", "description": "Release 3.1.4", "name": "Release 3.1.4", "archived": true, "released": false }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-30T20:59:47.000+0000", "created": "2013-09-11T15:37:37.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "module_popover", "qe-testadded", "regression", "triage" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-24T08:15:47.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. Problem Description\r\nA view inside a popover never fills the whole popover view, but leaves a padding on top and bottom of the popover.\r\n\r\nh4. Workaround\r\nI have checked this issue. When I set navBarHidden is true, it’s creating extra padding in top and bottom in Popover as like as reporter snapshot. But it is working well if navBarHidden is false.\r\n\r\nh4. Testcase\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : '#fff'\r\n});\r\n \r\nvar popover = Ti.UI.iPad.createPopover({\r\n width : 350,\r\n height : 300,\r\n arrowDirection : Ti.UI.iPad.POPOVER_ARROW_DIRECTION_ANY,\r\n navBarHidden : true,\r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n backgroundColor : \"#fff\",\r\n top : 0,\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL\r\n});\r\npopover.add(view);\r\n \r\nvar aButton = Ti.UI.createButton({\r\n title : 'aButton',\r\n});\r\n \r\naButton.addEventListener('click', function() {\r\n popover.show({ view : aButton });\r\n});\r\n \r\nwin.add(aButton);\r\n \r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "42403", "filename": "Schermata 2013-09-11 alle 17.03.54.png", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-11T15:37:37.000+0000", "size": 31683, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: View inside popover does not fill available space", "creator": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Ti version 3.1.3.v20130908095038, \r\niOS 6 and 7\r\nOS: X OS 10.8.4,\r\nXcode: Version 4.6.3 (4H1503)\r\n", "comment": { "comments": [ { "id": "273473", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "How can this be a priority None? Are You seriously suggesting we release our Apps with this bug?\r\nThe problem also exists on IOS7.\r\nWe use the Titanium platform because it's native, but with this bug it don't look very native.\r\nI'm sorry but I will be very disappointed if the next update doesn't include a fix for this.", "updateAuthor": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-10-01T05:55:46.000+0000", "updated": "2013-10-01T05:55:46.000+0000" }, { "id": "273476", "author": { "name": "favo", "key": "favo", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "body": "I hope the ticket update is just a mistake.\r\nI released my latest App update with an older SDK because of this bug, accepting other problems for the meantime.", "updateAuthor": { "name": "favo", "key": "favo", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-01T07:02:53.000+0000", "updated": "2013-10-01T07:02:53.000+0000" }, { "id": "273479", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "same thing here, I had to release an update with TiSDK 3.1.2. I can't update to xcode 5 because not all of my modules support it yet. So, until everything will work smooth on xcode 5, I have to stick with xcode 4.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-01T07:37:18.000+0000", "updated": "2013-10-01T07:37:18.000+0000" }, { "id": "273502", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hey guys,\nwe go from Community bugs to Mobile/Cloud or so. We reset the priority, so Platform will decide which priority should have.\n\nThanks for letting us your concerns about this. \n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-01T17:27:56.000+0000", "updated": "2013-10-01T17:27:56.000+0000" }, { "id": "273729", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "this is what happens when I use your workaround\r\n\r\n!http://i.imgur.com/aKlRLhM.png!\r\n\r\nit still doesn't work to me.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-03T10:12:17.000+0000", "updated": "2013-10-03T10:12:17.000+0000" }, { "id": "276946", "author": { "name": "hitkaiser", "key": "hitkaiser", "displayName": "Hitesh Sawlani", "active": true, "timeZone": "Europe/Berlin" }, "body": "Workaround works on iOS 6 but not on iOS7.\r\nThis is a high priority for us.\r\n", "updateAuthor": { "name": "hitkaiser", "key": "hitkaiser", "displayName": "Hitesh Sawlani", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-28T08:43:52.000+0000", "updated": "2013-10-28T08:43:52.000+0000" }, { "id": "277118", "author": { "name": "tak8xx", "key": "tak8xx", "displayName": "Charles Tran", "active": true, "timeZone": "Asia/Jakarta" }, "body": "The same for me. It's work good for me on Ti SDK 3.1.2 but fail on version 3.1.3", "updateAuthor": { "name": "tak8xx", "key": "tak8xx", "displayName": "Charles Tran", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-10-29T10:06:58.000+0000", "updated": "2013-10-29T10:06:58.000+0000" }, { "id": "277263", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "We will fix this for 3.2.0 and back port this to 3_1_X.\nBut be advised that this functionality should be considered to be deprecated. Please use the contentView property of the popover to display content. \nWe plan to migrate the the popover proxy from a view proxy to a plain proxy. So it will not support adding children.\nSee TIMOB-15402 for details.\nFor the current example you would rewrite the code in 3.2.0 to be something like this.\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor : '#fff'\n});\n \nvar view = Ti.UI.createView({\n backgroundColor : \"#fff\",\n width:350,\n height: 300,\n borderWidth:1,\n borderColor:'red'\n});\n\nvar popover = Ti.UI.iPad.createPopover({\n arrowDirection : Ti.UI.iPad.POPOVER_ARROW_DIRECTION_ANY,\n contentView : view\n});\n \nvar aButton = Ti.UI.createButton({\n title : 'aButton',\n});\n \naButton.addEventListener('click', function() {\n popover.show({ view : aButton });\n});\n \nwin.add(aButton);\n \nwin.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T21:31:13.000+0000", "updated": "2013-10-29T21:31:13.000+0000" }, { "id": "277268", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4880", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T21:35:01.000+0000", "updated": "2013-10-29T21:35:01.000+0000" }, { "id": "277269", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_1_X\nhttps://github.com/appcelerator/titanium_mobile/pull/4881", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T21:43:14.000+0000", "updated": "2013-10-29T21:43:14.000+0000" }, { "id": "277406", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged both PRs.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T21:04:20.000+0000", "updated": "2013-10-30T21:04:20.000+0000" }, { "id": "279313", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested and Verified fix with:\r\nOSX: 10.8.5\r\nXcode:5.0\r\nAppcelerator Studio: 3.2.0.201311122045\r\nSDK: 3.2.0.v20131112180422\r\nacs:1.0.7\r\nalloy:1.3.0\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processo:1.0.3\r\nDEVICE: IPAD3 7.0 and iPad Mini 6.0\r\nSimulator- iPhone Retina(3.5-inch) iOS 7.0", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-13T10:44:26.000+0000", "updated": "2013-11-13T10:44:26.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }