{ "id": "135499", "key": "TIMOB-17729", "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": "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": "2015-01-07T22:29:05.000+0000", "created": "2014-08-28T09:57:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ProgressIndicator", "TCSupport", "android", "mobile" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-09-02T08:35:54.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "i want to use loading dialog in android that is not dismissed when touching outside and use back button to cancel loading operation when using ProgressIndicator and location=\"Ti.UI.Android.PROGRESS_INDICATOR_DIALOG\", it displays loading dialog just fine but when touching anywhere in screen, it dismisses the dialog.\r\n\r\nAndroid use CanceledOnTouchOutside = false to prevent this action.\r\n \r\nPlease add CanceledOnTouchOutside or find a solution for this problem ", "attachment": [], "flagged": false, "summary": "Android: Add CanceledOnTouchOutside property to Titanium.UI.Android.ProgressIndicator", "creator": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "subtasks": [], "reporter": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "environment": "android ", "closedSprints": [ { "id": 291, "state": "closed", "name": "2015 Sprint 01 SDK", "startDate": "2015-01-03T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:40.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "334500", "author": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "body": "does Affects Version/s: Release 3.4.0 means it supposed to be finished by Release 3.4.0 ?", "updateAuthor": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "created": "2014-12-03T08:21:41.000+0000", "updated": "2014-12-03T08:21:41.000+0000" }, { "id": "334624", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This means that it was tested on version 3.4.0. We have not yet assigned a fix version.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-03T20:14:36.000+0000", "updated": "2014-12-03T20:14:36.000+0000" }, { "id": "337776", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6531", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-01-05T05:05:13.000+0000", "updated": "2015-01-05T05:05:13.000+0000" }, { "id": "337777", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "{code}\r\nTi.UI.backgroundColor = 'white';\r\n \r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'blue'\r\n});\r\n \r\nvar button = Ti.UI.createButton({\r\n\ttitle : 'Show Progress Dialog'\r\n});\r\n \r\nvar progressIndicator = Ti.UI.Android.createProgressIndicator({\r\n\tmessage : 'Loading...',\r\n\tlocation : Ti.UI.Android.PROGRESS_INDICATOR_DIALOG,\r\n\ttype : Ti.UI.Android.PROGRESS_INDICATOR_DETERMINANT,\r\n\tcancelable : true,\r\n\tcanceledOnTouchOutside : false,\r\n\tmin : 0,\r\n\tmax : 10,\r\n\tvalue : 0\r\n});\r\n \r\nbutton.addEventListener('click', function(e) {\r\n\tprogressIndicator.show();\r\n\tvar value = 0;\r\n\tsetInterval(function() {\r\n\t\tif (value > 10) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tprogressIndicator.value = value;\r\n\t\tvalue++;\r\n\t}, 200);\r\n \r\n});\r\n \r\nwin.add(button);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-01-05T05:06:12.000+0000", "updated": "2015-01-05T05:06:12.000+0000" }, { "id": "343740", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Verified with below Test Environment :\r\n\r\nAppc Studio : 4.0.0.201502111039 \r\nTi SDK : 4.0.0.v20150217154015 \r\nMac OSX : 10.10.1 \r\nAlloy : 1.5.1 \r\nCLI - 3.6.0-dev \r\nCode Processor: 1.1.1 \r\nNexus 5 - Android 5.0\r\n\r\nBy default, CanceledOnTouchOutside property is set to true. When touching anywhere in screen, it dismisses the dialog. When CanceledOnTouchOutside property is set to false, the dialog is not dismissed when touch anywhere in screen.\r\n\r\nWorking as expected.\r\nClosing this ticket.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-02-18T09:34:09.000+0000", "updated": "2015-02-18T09:34:09.000+0000" }, { "id": "362045", "author": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "body": "this property isn't documented yet in http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Android.ProgressIndicator", "updateAuthor": { "name": "mohammedalawady", "key": "mohammedalawady", "displayName": "Mohammed AL-awadi", "active": true, "timeZone": "Asia/Riyadh" }, "created": "2015-09-02T08:35:54.000+0000", "updated": "2015-09-02T08:35:54.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }