{ "id": "112569", "key": "TIMOB-13502", "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": "2013-04-09T00:43:52.000+0000", "priority": null, "labels": [ "ios", "popover" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:04.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": "*Problem*\r\nWhen a Ti.UI.iPad.createPopover uses a LEFT or RIGHT arrow, the popover seems to be the wrong size. Some of my content is being cut off. \r\nUP and DOWN work as expected. \r\n\r\nOrientation seems to make no difference. (problem is in landscape or portrait)\r\n\r\nSuggestion of where to patch TiSDK would be welcome, as this is a bit of a blocker for me. \r\n\r\n*Steps to reproduce*\r\n1. Copy and paste code provided into app.js\r\n2. Run on iPad simulator\r\n3. Click left side button, notice popover functionality as expected\r\n4. Click right side button, notice popover content being cut off\r\n", "attachment": [ { "id": "37257", "filename": "app.js", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-09T00:43:52.000+0000", "size": 1669, "mimeType": "text/javascript" }, { "id": "37259", "filename": "bad.png", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-09T00:43:52.000+0000", "size": 22607, "mimeType": "image/png" }, { "id": "37258", "filename": "good.png", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-09T00:43:52.000+0000", "size": 24936, "mimeType": "image/png" } ], "flagged": false, "summary": "Popover sizing is calculated incorrectly when POPOVER_ARROW_DIRECTION_LEFT or RIGHT", "creator": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti: 3.0.2, 3.1.0-BETA-RC\r\niPad Simulator - iOS 6.1", "comment": { "comments": [ { "id": "246711", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Mitchell, thank you for bringing this to our attention. Engineering will take a look at it. \nPS. I enjoyed the Community reference :)\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T19:37:47.000+0000", "updated": "2013-04-09T19:37:47.000+0000" }, { "id": "246728", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "great thanks. :D", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-09T20:13:32.000+0000", "updated": "2013-04-09T20:13:32.000+0000" }, { "id": "247180", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "new info: in my app (where i first saw the bug) I just noticed that if the popover is displaying in it's buggy mode (with arrow on the LEFT) if i then change orientation of the device, when it redraws, the popover looks correct. So hopefully that will help. \r\n ", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-11T21:55:27.000+0000", "updated": "2013-04-11T21:55:27.000+0000" }, { "id": "248020", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "any news on this?\r\n", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-04-17T21:36:17.000+0000", "updated": "2013-04-17T21:36:17.000+0000" }, { "id": "249622", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For some reason, this issue seems to be related to the hard-coded left and right values.\n\nWhen I change view and popover to use width of Ti.UI.FILL, or simply omit the size values, the popover appears to work correctly. So it seems like it's specifically the combination of the hard-coded left and right values with the right arrow that's causing the problem.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-30T22:51:26.000+0000", "updated": "2013-04-30T22:51:26.000+0000" }, { "id": "249649", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "awesome. thanks arthur - will give it a shot. \r\n\r\n", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2013-05-01T00:29:38.000+0000", "updated": "2013-05-01T00:29:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }