{ "id": "81404", "key": "TIMOB-5493", "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": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-04T13:29:59.000+0000", "created": "2011-10-11T08:21:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "branch-5062", "module_popover", "qe-testadded" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:51.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": "h1. Problem\r\nThe popover ignores its dimensions when you call hide() before show(), or when calling hide() multiple times.\r\n\r\nh2. How to Reproduce\r\n\r\n1. Drop the following in an app.js.\r\n2. Run it in the iOS 5 iPad simulator.\r\n3. Click the white button in the sea of blackness, and you'll see a really big popover.\r\n4. Click anywhere but on the popover or button to hide the popover.\r\n5. Click the white button again to see the properly sized popover.\r\n\r\n{code:title=app.js}\r\nvar breakPopoverSizing = true;\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n height: 40, width: 40\r\n});\r\nif (breakPopoverSizing) {\r\n popover.hide();\r\n}\r\n\r\nvar button = Ti.UI.createButton({\r\n title: '1. Touch Me ',\r\n width: 200, height: 40\r\n});\r\nbutton.addEventListener('click', function() {\r\n popover.show({ view: button });\r\n});\r\nwin.add(button);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "23522", "filename": "popoverHeightIssue.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-10-11T08:22:09.000+0000", "size": 33655, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS5: Popover Ignores Dimensions when Hide Method Is Called", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "BROKEN on iPad 2 with iOS 5\r\nBROKEN in iOS 5 iPad Simulator\r\n\r\nTested with master CI\r\nversion=1.8.0\r\ntimestamp=11/04/11 13:42\r\ngithash=86f6139...", "comment": { "comments": [ { "id": "168973", "author": { "name": "wgogan", "key": "wgogan", "displayName": "William G", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This occurs in our apps as well, including released in-the-wild apps which were built on older SDK versions (1.5, 1.7).\r\n\r\nAll discussion in the Q&A section about these issues are shut down instantly by moderators due to the Apple NDA, so we've been hoping that Appcelerator will listen to these issues once the NDA period expires (we hope..) \r\n\r\nNote: both the popover height and width is ignored - the height is basically full-height even when height is defined, and the width isn't respected either.", "updateAuthor": { "name": "wgogan", "key": "wgogan", "displayName": "William G", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-12T06:10:56.000+0000", "updated": "2011-10-12T06:10:56.000+0000" }, { "id": "168977", "author": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "body": "I saw this happening on an older SDK build, but it appears to be fixed in the latest 1.8 in github.\r\n\r\n(Tested on iPad2 with iOS5 beta)", "updateAuthor": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-12T06:52:55.000+0000", "updated": "2011-10-12T06:52:55.000+0000" }, { "id": "169102", "author": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can someone point me at the git commit so I can merge back into 1.6.2 - 1.7.x and 1.8.x are way too unstable to use ?", "updateAuthor": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T01:34:29.000+0000", "updated": "2011-10-13T01:34:29.000+0000" }, { "id": "169114", "author": { "name": "wgogan", "key": "wgogan", "displayName": "William G", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As @Nick Milner says.. 1.7 still has problems that prevent upgrading from 1.6.. but merging 1.8's fix for this problem back into 1.6.2 might give a stable build which fixes this problem. I'm sure Appcelerator won't directly support this, but presumably we all know how to run a diff and poke around until we get it working :)", "updateAuthor": { "name": "wgogan", "key": "wgogan", "displayName": "William G", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T06:05:37.000+0000", "updated": "2011-10-13T06:05:37.000+0000" }, { "id": "169115", "author": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yep, Agree William. I am already on a homebrew version of 1.6.2 plus back ports of other stuff. I don't expect support but am now stuck as the App i'm working on for a client was due to be submitted this Friday and IOS5 has broken lots of bits and pieces. A shame that although this bug has been apparent since the very first IOS5 beta its been overlooked/ignored.", "updateAuthor": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-13T06:17:40.000+0000", "updated": "2011-10-13T06:17:40.000+0000" }, { "id": "169433", "author": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reggie, if it helps I discovered that on latest 1.8.x the popover width/height works if you don't use setPassThroughViews method", "updateAuthor": { "name": "nickmilner", "key": "nickmilner", "displayName": "Nick Milner", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-17T10:57:03.000+0000", "updated": "2011-10-17T10:57:03.000+0000" }, { "id": "171562", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Got it. Updated original description with a reproducible test case and some additional details.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-04T14:24:36.000+0000", "updated": "2011-11-04T14:24:36.000+0000" }, { "id": "172752", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "WORKS now in the customer's app as well as my own isolated test cases. Great fix, Reggie!\r\n\r\nversion=1.8.0.1\r\ntimestamp=11/15/11 09:46\r\ngithash=3b241d9...", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-15T11:50:40.000+0000", "updated": "2011-11-15T11:50:40.000+0000" }, { "id": "175679", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ios5, ipad2, 1.8.0.1 RC1, 10.6.8, xcode4.2", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-10T11:58:14.000+0000", "updated": "2011-12-10T11:58:14.000+0000" }, { "id": "178008", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue to add tag\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T13:29:29.000+0000", "updated": "2012-01-04T13:29:29.000+0000" }, { "id": "178010", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Added tag.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T13:29:59.000+0000", "updated": "2012-01-04T13:29:59.000+0000" }, { "id": "187000", "author": { "name": "giangnamtranag", "key": "giangnamtranag", "displayName": "Giang Nam Tran", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi guys,\r\n\r\nI have issue same this problem With Ipad 2. I updated Titanium Mobile SDK 1.8.0 RC3;xcode4.2; Mac OSX 10.6.8 and built, but my app did not work on IPAD 2(App crashed when it's started) while it work on Ipad Simulator normally.\r\n\r\nI don't know? Please help me!\r\n\r\nThanks so much!", "updateAuthor": { "name": "giangnamtranag", "key": "giangnamtranag", "displayName": "Giang Nam Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-18T20:28:31.000+0000", "updated": "2012-03-18T20:28:31.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }