{ "id": "174825", "key": "TIMOB-27822", "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": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-04-16T01:39:56.000+0000", "created": "2020-03-18T04:27:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "issuelinks": [ { "id": "58420", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175126", "key": "TIMOB-27953", "fields": { "summary": "Ti.UI.iPad.Popover Test Suite iPad only: Titanium.UI.iPad.Popover Acceptance TIMOB-27822 iPad only", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-06-11T07:39:48.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": "As of iOS 13, Ti.UI.iPad.Popover's \"arrow\" is included as part of the content area. This was not the case in previous versions of iOS, and is causing content to be pushed outside the bounds of what is visible in the Popover on iOS 13 devices. It's probably an issue with safe area implementation in iOS 13.\r\n\r\nSee !popover_ios13_issue.png|thumbnail! for the difference between how it is working on iOS 13 and iOS 12.\r\n\r\nReproduction code:\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\nvar button = Ti.UI.createButton({title: 'Open Popover Up', top: 100});\r\nvar button2 = Ti.UI.createButton({title: 'Open Popover Left', top: 200});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n})\r\nbutton2.addEventListener('click', function(e){\r\n popover2.show({ view: button2 });\r\n})\r\nwin.add(button);\r\nwin.add(button2);\r\nvar contentWindow = Ti.UI.createWindow({ title: 'Window title' });\r\ncontentWindow.add(Ti.UI.createLabel({text: \"Example text.\"}));\r\nvar popover = Ti.UI.iPad.createPopover({\r\n\tbackgroundColor: 'black',\r\n\tarrowDirection: Titanium.UI.iPad.POPOVER_ARROW_DIRECTION_UP,\r\n contentView: Ti.UI.createNavigationWindow({\r\n width: 450,\r\n height: 300,\r\n\t\twindow: contentWindow,\r\n })\r\n});\r\nvar popover2 = Ti.UI.iPad.createPopover({\r\n\tbackgroundColor: 'black',\r\n\tarrowDirection: Titanium.UI.iPad.POPOVER_ARROW_DIRECTION_LEFT,\r\n contentView: Ti.UI.createNavigationWindow({\r\n width: 450,\r\n height: 300,\r\n\t\twindow: contentWindow,\r\n })\r\n});\r\nwin.open();\r\n{code}", "attachment": [ { "id": "67335", "filename": "iPad9.7_alignmentIssue.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-14T16:56:14.000+0000", "size": 192449, "mimeType": "image/png" }, { "id": "67305", "filename": "popover_ios13_issue.png", "author": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "created": "2020-03-18T04:26:32.000+0000", "size": 319664, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.UI.iPad.Popover including arrow in content view on iOS 13", "creator": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "subtasks": [], "reporter": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "environment": "SDK 8.3.0\r\niOS 13 sim/device", "closedSprints": [ { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454867", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "I have this issue as well, it completely ruins the UI of my app unfortunately as popovers are used extensively and dynamically. My app is like a map app with pins.\r\n\r\nI cannot find a way around this, but it seems that the SDK is implementing the iOS 13 change wrong as everything is clearly shifted up/down/left/right depending on the arrow direction.", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-26T04:50:01.000+0000", "updated": "2020-03-26T04:50:01.000+0000" }, { "id": "454973", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "Hi, just wondering if there is any update on this issue in terms of when a fix to this may appear in the CI builds so I can test it? \r\n\r\nThis bug is preventing me from releasing my app as I make heavy use of Popovers for iPad. Thanks!", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2020-04-06T02:27:07.000+0000", "updated": "2020-04-06T02:27:07.000+0000" }, { "id": "454984", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mark.henderson@snagr.co.uk] \r\nI am working on this. I'll update progress here.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-06T17:33:00.000+0000", "updated": "2020-04-06T17:33:00.000+0000" }, { "id": "455009", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master) - https://github.com/appcelerator/titanium_mobile/pull/11598\r\n\r\nPR (9_0_X) - https://github.com/appcelerator/titanium_mobile/pull/11599", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-07T20:57:13.000+0000", "updated": "2020-04-07T20:57:13.000+0000" }, { "id": "455012", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "@Vijay Singh I have tested the PR manually in my 9.0.0SDK and it works perfectly! Many thanks for the fast response at this difficult time!", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2020-04-08T00:40:36.000+0000", "updated": "2020-04-08T00:40:36.000+0000" }, { "id": "455014", "author": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "body": "@Vijay Singh ditto to Mark's sentiment —really appreciate the fast response on this! Have tested this in 8.3.0.SDK and it also works fine there", "updateAuthor": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "created": "2020-04-08T02:16:30.000+0000", "updated": "2020-04-08T02:16:30.000+0000" }, { "id": "455102", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-13T19:19:38.000+0000", "updated": "2020-04-13T19:19:38.000+0000" }, { "id": "455127", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Noticed an issue with the fix. When testing on an iPad simulator in portrait mode the text is not centrally aligned in the case of popover left. The text alignment issue is more noticeable on smaller screen like ipad pro 9.7 inch simulator whereas on on larger screen sim like iPad pro 12.9 inch the issue is not noticeable at all.\r\nCheck the attached screenshot for 9.7 inch iPad pro.\r\n !iPad9.7_alignmentIssue.png|thumbnail! ", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-14T16:54:55.000+0000", "updated": "2020-04-14T16:56:44.000+0000" }, { "id": "455128", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looking in this.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-14T17:32:41.000+0000", "updated": "2020-04-14T17:32:41.000+0000" }, { "id": "455149", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (9_0_X) - https://github.com/appcelerator/titanium_mobile/pull/11633\r\nPR (master) - https://github.com/appcelerator/titanium_mobile/pull/11632", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-15T19:43:32.000+0000", "updated": "2020-04-15T19:43:32.000+0000" }, { "id": "455153", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. \r\nThe iPad popover are shown correctly and the title text is centrally aligned.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-15T23:06:08.000+0000", "updated": "2020-04-15T23:06:08.000+0000" }, { "id": "455154", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS: 10.15.4\r\nSDK: 9.0.1.v20200415143120, 9.1.0.v20200415140515\r\nAppc CLI: 8.0.0\r\nJDK: 11.0.4\r\nNode: 10.17.0\r\nStudio: 6.0.0.202003181504\r\nXcode: 11.4\r\niOS simulator: iPad Air3(v13.4, 12.2), iPad Pro 9.7-inch(v13.4, 12.2), iPad Pro 11-inch(v13.4, 12.2), iPad Pro 12.9-inch(v13.4, 12.2)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-16T01:39:56.000+0000", "updated": "2020-04-16T01:39:56.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }