{ "id": "137364", "key": "TIMOB-17804", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-02T20:35:05.000+0000", "created": "2014-09-29T22:15:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "module_optiondialog", "optiondialog", "qe-manualtest" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "41699", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "136279", "key": "TIMOB-17660", "fields": { "summary": "iOS8: OptionDialog doesn't work in a Popover", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41702", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "136210", "key": "TIMOB-17639", "fields": { "summary": "iOS8: Ti.UI.OptionDialog.show() doesn't work without view-property on iPad", "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 } } } }, { "id": "41701", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "136267", "key": "TIMOB-17653", "fields": { "summary": "iOS: Option Dialog shown truncated on orientation change when project resources don't have Default-568h@2x.png file", "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 } } } }, { "id": "44722", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "142811", "key": "TIMOB-18378", "fields": { "summary": "iOS8: Option Dialog Caret Present on iPad", "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": "2015-01-14T20:52:38.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": "iOS8 has moved over AlertDialog and OptionDialog to UIAlertController\r\n\r\nAlso the correct way to show popovers is now to set the modalPresentationStyle to UIModalPresentationPopover\r\n\r\nTitanium needs to refactor these three proxy classes. Will probably also need to change the supported API.", "attachment": [], "flagged": false, "summary": "iOS8: Refactor OptionDialog", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "326769", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Additional test case to be run on iPAD\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white',title:'WIN1'});\r\n\r\nvar label = Ti.UI.createLabel({text:'SHOW HERE',top:30});\r\n\r\nwin.add(label);\r\n\r\nvar label2 = Ti.UI.createLabel({text:'IN TABBAR',top:70});\r\n\r\nwin.add(label2);\r\n\r\nvar label3 = Ti.UI.createLabel({text:'IN WINDOW',top:110,dialogView:win});\r\n\r\nwin.add(label3);\r\n\r\n\r\nvar label4 = Ti.UI.createLabel({text:'Without View',top:150});\r\n\r\nwin.add(label4);\r\n\r\nvar one = Titanium.UI.createButton({\r\n title: 'HERE'\r\n});\r\nvar two = Titanium.UI.createButton({\r\n title: 'HERE'\r\n});\r\nvar three = Titanium.UI.createButton({\r\n title: 'HERE'\r\n});\r\nvar four = Titanium.UI.createButton({\r\n title: 'TOOLBAR'\r\n});\r\nvar flexSpace = Titanium.UI.createButton({\r\n systemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\n\r\n\r\nvar toolbar = Titanium.UI.iOS.createToolbar({\r\n items:[one, flexSpace, two,flexSpace,four],\r\n bottom:0,\r\n}); \r\nfour.dialogView = toolbar;\r\nwin.add(toolbar);\r\n\r\nwin.rightNavButton = three;\r\n\r\n\r\nvar opts = {\r\n //cancel: 2,\r\n options: ['Confirm', 'Help', 'Cancel'],\r\n selectedIndex: 2,\r\n destructive: 0,\r\n title: 'Delete File?',\r\n message: 'Be Sure!!'\r\n};\r\n\r\nfunction clickHandler(e){\r\n\tvar dialogView = e.source.dialogView;\r\n\tif(!dialogView) {\r\n\t\tdialogView = e.source;\r\n\t}\r\n\tvar dialog = Ti.UI.createOptionDialog(opts).show({animated:true,view:dialogView});\r\n}\r\n\r\none.addEventListener('click',clickHandler);\r\ntwo.addEventListener('click',clickHandler);\r\nthree.addEventListener('click',clickHandler);\r\nfour.addEventListener('click',clickHandler);\r\nlabel.addEventListener('click',clickHandler);\r\nlabel2.addEventListener('click',clickHandler);\r\nlabel3.addEventListener('click',clickHandler);\r\nlabel4.addEventListener('click',function(e){\r\n var dialog = Ti.UI.createOptionDialog(opts).show();\r\n});\r\n\r\nvar tab = Ti.UI.createTab({\r\n\ttitle:'TAB1',\r\n\twindow:win\r\n})\r\n\r\nlabel2.dialogView = tab;\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n\ttabs:[tab],\r\n\torientationModes:[1,2,3,4]\r\n})\r\ntabGroup.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-02T18:17:22.000+0000", "updated": "2014-10-02T18:17:22.000+0000" }, { "id": "326770", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/6191\r\n3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6193", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-02T18:18:12.000+0000", "updated": "2014-10-02T19:15:45.000+0000" }, { "id": "327079", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code using\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK, build: 3.4.1.v20141003114920\r\nacs@1.0.18\r\nalloy 1.5.1\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0\r\ntitanium-code-processor@1.1.1\r\nXcode6.1GM\r\nDevices:\r\niPad mini iOS 8.1\r\niPad mini iOS 7.0.3\r\nWorks as expected per [~vduggal]", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-06T21:45:25.000+0000", "updated": "2014-10-06T21:45:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }