{ "id": "136210", "key": "TIMOB-17639", "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": "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:34:10.000+0000", "created": "2014-09-08T09:27:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Ti.UI.OptionDialog", "iPad", "ios8", "kitchensink", "module_optiondialog", "optiondialog", "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "41702", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "137364", "key": "TIMOB-17804", "fields": { "summary": "iOS8: Refactor OptionDialog", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "43596", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "140767", "key": "DE-138", "fields": { "summary": "iOS8: KitchenSink > Phone > iPad Features > Main Tests throws error", "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": "40937", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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 } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-02T00:39:13.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": "*Problem*\r\nAn {{Ti.UI.OptionDialog}} doesn't show on iPads running iOS8, giving the following (quiet) error in the device logs:\r\n\r\n{code}\r\n[DEBUG] 2014-09-08 11:25:30.767 od[8034:231901] Unable to simultaneously satisfy constraints.\r\n[DEBUG] Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)\r\n[DEBUG] (\r\n[DEBUG] \"\",\r\n[DEBUG] \"= UIView:0x7ba9f730.width>\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\"\r\n[DEBUG] )\r\n[DEBUG]\r\n[DEBUG] Will attempt to recover by breaking constraint\r\n[DEBUG] \r\n[DEBUG]\r\n[DEBUG] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\n[DEBUG] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.\r\n[DEBUG] 2014-09-08 11:25:30.768 od[8034:231901] Unable to simultaneously satisfy constraints.\r\n[DEBUG] Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)\r\n[DEBUG] (\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"= UIView:0x7ba9f730.width>\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\"\r\n[DEBUG] )\r\n[DEBUG]\r\n[DEBUG] Will attempt to recover by breaking constraint\r\n[DEBUG] \r\n[DEBUG]\r\n[DEBUG] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\n[DEBUG] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.\r\n[DEBUG] 2014-09-08 11:25:30.770 od[8034:231901] Unable to simultaneously satisfy constraints.\r\n[DEBUG] Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)\r\n[DEBUG] (\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"= UIView:0x7ba9f730.width>\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\"\r\n[DEBUG] )\r\n[DEBUG]\r\n[DEBUG] Will attempt to recover by breaking constraint\r\n[DEBUG] \r\n[DEBUG]\r\n[DEBUG] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\n[DEBUG] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.\r\n[DEBUG] 2014-09-08 11:25:30.771 od[8034:231901] Unable to simultaneously satisfy constraints.\r\n[DEBUG] Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)\r\n[DEBUG] (\r\n[DEBUG] \"=44)]>\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\"\r\n[DEBUG] )\r\n[DEBUG]\r\n[DEBUG] Will attempt to recover by breaking constraint\r\n[DEBUG] =44)]>\r\n[DEBUG]\r\n[DEBUG] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\n[DEBUG] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.\r\n[DEBUG] 2014-09-08 11:25:30.772 od[8034:231901] Unable to simultaneously satisfy constraints.\r\n[DEBUG] Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)\r\n[DEBUG] (\r\n[DEBUG] \"=44)]>\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\",\r\n[DEBUG] \"\"\r\n[DEBUG] )\r\n[DEBUG]\r\n[DEBUG] Will attempt to recover by breaking constraint\r\n[DEBUG] =44)]>\r\n[DEBUG]\r\n[DEBUG] Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\n[DEBUG] The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.\r\n{code}\r\n\r\n*Steps to reproduce*\r\nWith the following combinations, build and run the test case and click on the window to open the dialog.\r\n\r\n- SDK 3.4 / iOS8 / iPhone: OK\r\n- SDK 3.4 / iOS8 / iPad: *Error*\r\n- SDK 3.3 / iOS7.1 / iPhone: OK\r\n- SDK 3.3 / iOS7.1 / iPad: OK\r\n\r\n*Test case*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\nwin.addEventListener('click', function(e) {\r\n Ti.UI.createOptionDialog({\r\n options: ['a', 'b']\r\n }).show();\r\n});\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS8: Ti.UI.OptionDialog.show() doesn't work without view-property on iPad", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Ti SDK 3.4.0-beta\r\niPad Air running iOS7.1\r\niPad Simulator running iOS8 beta 5 via Xcode6 beta 7", "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": "322359", "author": { "name": "ludolphus", "key": "ludolphus", "displayName": "Steven van Loef", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "A work around (documented way http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.OptionDialog-method-show) is to specify a view and rect when showing the dialog:\r\n{code}\r\nTi.UI.createOptionDialog({\r\n options: ['a', 'b']\r\n}).show({view:win, rect:{width:1, height:1, x: 100, y: 200});\r\n{code}\r\nFor rect only x and y are used (see http://docs.appcelerator.com/platform/latest/#!/api/showParams).\r\n", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-08T21:02:14.000+0000", "updated": "2014-09-13T04:17:10.000+0000" }, { "id": "322512", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~ludolphus] you are right, (it doesn't even need {{rect}} in order to work), but of course - as documented - it should also work without and then show centered.\r\n\r\nI guess the title of the ticket should be *iOS8: Ti.UI.OptionDialog.show() doesn't work without view-property on iPad*", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-09T13:31:22.000+0000", "updated": "2014-09-09T13:39:35.000+0000" }, { "id": "322516", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-09T13:49:35.000+0000", "updated": "2014-09-09T13:49:35.000+0000" }, { "id": "322605", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "This might be fixed in the iOS8 GM:\r\n\r\n> To use an action sheet-style UIAlertController on iPad, the sourceView of the alert controller's popoverPresentationController must be set.\r\n\r\nRelease notes: https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-8.0/index.html#//apple_ref/doc/uid/TP40014223", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-09T19:39:01.000+0000", "updated": "2014-09-09T19:39:01.000+0000" }, { "id": "322845", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Since iOS 8 GM it now works again. The ticket can be closed.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-10T17:41:44.000+0000", "updated": "2014-09-10T17:41:44.000+0000" }, { "id": "322990", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue does not reproduce with \r\niOS 7.1 \r\nTiSDK 3.4.0 \r\nAppcelerator Studio, build: 3.3.0.201407111535 \r\nTitanium Command-Line Interface, CLI version 3.3.0,", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T05:23:04.000+0000", "updated": "2014-09-11T05:23:04.000+0000" }, { "id": "323001", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~shameerj] that's correct because the ticket was for iOS 8 beta 5 and as you can read in the comment above yours it was an Apple-bug that is now fixed in GM.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-09-11T06:10:18.000+0000", "updated": "2014-09-11T06:10:18.000+0000" }, { "id": "323383", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Vishal wishes to keep a ticket open to reflect the next to add a view property, so keeping this open for the moment. There might be something related that needs to be fixed for 3.4.1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T18:40:35.000+0000", "updated": "2014-09-12T19:27:10.000+0000" }, { "id": "326803", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved as part of TIMOB-17804", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-02T20:34:10.000+0000", "updated": "2014-10-02T20:34:10.000+0000" }, { "id": "326902", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK, build: 3.4.1.v20141002135200\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\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-03T18:24:55.000+0000", "updated": "2014-10-03T18:24:55.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }